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

Running error #27

Closed
hyb965149985 opened this issue Jul 6, 2020 · 3 comments
Closed

Running error #27

hyb965149985 opened this issue Jul 6, 2020 · 3 comments

Comments

@hyb965149985
Copy link

Hi, authors. Thanks for your splendid works.
when i run train.py with test mode i get this error:

Traceback (most recent call last):
File "F:\py\Free-Form-Video-Inpainting-master\src\trainer\trainer.py", line 426, in evaluate_test_set
output_root_dir=output_root_dir, epoch=epoch)
File "F:\py\Free-Form-Video-Inpainting-master\src\trainer\trainer.py", line 98, in _evaluate_data_loader
for batch_idx, data in enumerate(data_loader):
File "E:\Anaconda3\envs\opn\lib\site-packages\torch\utils\data\dataloader.py", line 819, in iter
return _DataLoaderIter(self)
File "E:\Anaconda3\envs\opn\lib\site-packages\torch\utils\data\dataloader.py", line 560, in init
w.start()
File "E:\Anaconda3\envs\opn\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "E:\Anaconda3\envs\opn\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "E:\Anaconda3\envs\opn\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "E:\Anaconda3\envs\opn\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "E:\Anaconda3\envs\opn\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
File "F:\py\Free-Form-Video-Inpainting-master\src\utils\directory_IO.py", line 54, in getattr
f"{attr} not in root_dir_names {self.output_root_dirs}")
KeyError: "getstate not in root_dir_names {'masked_frames': '../VOS_resized2\\masked_frames', 'result_frames': '../VO
S_resized2\\result_frames', 'optical_flows': '../VOS_resized2\\optical_flows'}"
--Call--

e:\anaconda3\envs\opn\lib\multiprocessing\util.py(182)call()
-> def call(self, wr=None,
(Pdb) Traceback (most recent call last):
File "", line 1, in
File "E:\Anaconda3\envs\opn\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "E:\Anaconda3\envs\opn\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input

@amjltc295
Copy link
Owner

  1. Did you follow the instructions to install the packages?
  2. What is the command you ran?
  3. Is it on Windows? The code has not been tested on Windows and if it's an OS issue you have to solve it yourself

@hyb965149985
Copy link
Author

Thank you for your patience when I put "n_ gpu": 0 , "num_ Workers ": 0, it works.
It is on Windows.

@hyb965149985
Copy link
Author

hyb965149985 commented Jul 8, 2020 via email

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