Home > Back-end >  Why from utils impost fs_data_dir doesn't work?
Why from utils impost fs_data_dir doesn't work?

Time:10-29

I'm studying about the searchline analysis from BrainIAK. But the code

from utils import fs_data_dir, results_path

print('data dir = %s' % (fs_data_dir)) 

I ran it on google colab but it doesn't work.

I've searched for the utils package in python but I didn't find anything about fs_data_dir!

I have a project that depends on running this code. So I appreciate your help.

CodePudding user response:

The utils.py is from

https://github.com/brainiak/brainiak-tutorials/blob/master/tutorials/utils.py

So, you can get it with

!wget https://github.com/brainiak/brainiak-tutorials/blob/master/tutorials/utils.py

Then you can use from utils import fs_data_dir, results_path

  • Related