Skip to content

No such file or directory in experiments/Feb_1_learning_alphabet_corr/1/ #6

@KeyboardNerd

Description

@KeyboardNerd

I'm using the latest code from master branch.
Running python experiments/Feb_1_learning_alphabet_corr/1/experiment.py results in exception:

Traceback (most recent call last):
  File "experiments/Feb_1_learning_alphabet_corr/1/experiment.py", line 136, in <module>
    results = map(run, all_script_corr)
  File "experiments/Feb_1_learning_alphabet_corr/1/experiment.py", line 44, in run
    [11, 2, 2], RS, num_alphabets=N_scripts)
  File "/Users/Sida/Projects/pilots experiments/hypergrad/hypergrad/omniglot.py", line 42, in load_data_split
    raw_data = load_data(np.sort(alphabets_to_load))
  File "/Users/Sida/Projects/pilots experiments/hypergrad/hypergrad/omniglot.py", line 28, in load_data
    with open(datapath("omniglot_data.pkl")) as f:
IOError: [Errno 2] No such file or directory: '/Users/Sida/repos/hypergrad/data/omniglot/omniglot_data.pkl'

I looked into the code and found that on line 15 of omniglot.py in function datapath, the path is hard-coded as datadir = os.path.expanduser('~/repos/hypergrad/data/omniglot').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions