Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rendered_val\images does not exist #36

Open
JuanViPerea opened this issue Oct 21, 2021 · 1 comment
Open

rendered_val\images does not exist #36

JuanViPerea opened this issue Oct 21, 2021 · 1 comment

Comments

@JuanViPerea
Copy link

JuanViPerea commented Oct 21, 2021

"train.py" in
770: train()
train.py
"train.py" in train
693: generateAlpha(model, dataset, dataloader_val, writer, runpath, epoch)
train.py
"train.py" in generateAlpha
516: out = evaluation(model,
train.py
"mpi_utils.py" in evaluation
280: info_dict = measurement(model, dataset.sfm, dataloader, ray, webpath + outputFile + '/rendered_val')
C:\Files JuanVi\2. Proyectos\ML\nex-code-main\utils\mpi_utils.py
"mpi_utils.py" in measurement
412: io.imsave(os.path.join(write_path, '{}_ours.png'.format(filename)), (predict_image * 255).astype(np.uint8))
C:\Files JuanVi\2. Proyectos\ML\nex-code-main\utils\mpi_utils.py
"_io.py" in imsave
136: return call_plugin('imsave', fname, arr, plugin=plugin, **plugin_args)
C:\Users\capit\anaconda3\lib\site-packages\skimage\io_io.py
"manage_plugins.py" in call_plugin
207: return func(*args, **kwargs)
C:\Users\capit\anaconda3\lib\site-packages\skimage\io\manage_plugins.py
"functions.py" in imwrite
303: writer = get_writer(uri, format, "i", **kwargs)
C:\Users\capit\anaconda3\lib\site-packages\imageio\core\functions.py
"functions.py" in get_writer
217: request = Request(uri, "w" + mode, **kwargs)
C:\Users\capit\anaconda3\lib\site-packages\imageio\core\functions.py
"request.py" in init
124: self._parse_uri(uri)
C:\Users\capit\anaconda3\lib\site-packages\imageio\core\request.py
"request.py" in _parse_uri
265: raise FileNotFoundError("The directory %r does not exist" % dn)
C:\Users\capit\anaconda3\lib\site-packages\imageio\core\request.py
FileNotFoundError: The directory 'C:\Files JuanVi\2. Proyectos\ML\nex-code-main\runs\evaluation\crest\000200\rendered_val\images' does not exist

Had this error pop up after training for an hour or so. Loaded the file with
python train.py -scene data\crest_demo -model_dir crest -http -layers 6 -sublayers 2 -hidden 16 -num_workers 4
on windows 10.

Any idea on how to fix this is welcomed. I can confirm that the file/folder images does not exist inside rendered_val folder.

@pureexe
Copy link
Contributor

pureexe commented Nov 6, 2021

Windows has messed up filesystem behavior.

You need to confirm the value in mpi_utils.py line 412. is that write_path folder exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants