Skip to content

OSError: ./weights/weights_0.1.csv not found. #3

@mcdonaldnj304

Description

@mcdonaldnj304

Good Morning,

After finishing the Fractal Category Search I proceeded to run the code fractal_renderer/make_fractaldb.py to construct FractalDB. However, in doing so I receive an error:
$ python fractal_renderer/make_fractaldb.py
Traceback (most recent call last):
File "fractal_renderer/make_fractaldb.py", line 39, in
weights = np.genfromtxt(args.weight_csv,dtype=np.str,delimiter=',')
File "/home/noahm/RSML/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1772, in genfromtxt
fid = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/home/noahm/RSML/lib/python3.6/site-packages/numpy/lib/_datasource.py", line 269, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/home/noahm/RSML/lib/python3.6/site-packages/numpy/lib/_datasource.py", line 623, in open
raise IOError("%s not found." % path)
OSError: ./weights/weights_0.1.csv not found.

I went to FractalDB-trained-ResNet-PyTorch/fractal_renderer/weights and found the file weights_0.1.csv was indeed there.
I am unsure of the solution to this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions