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

Train in windows #42

Open
syh-hue opened this issue Jul 28, 2021 · 0 comments
Open

Train in windows #42

syh-hue opened this issue Jul 28, 2021 · 0 comments

Comments

@syh-hue
Copy link

syh-hue commented Jul 28, 2021

Hi, I have a question when I run train. Something like multithreading or way of using lambda().And I do it in windows not Unbantu.
Error like this:

Evaluate only
Evaluating market1501 ...

Using Flip Eval....

warnings.warn("Cython evaluation is UNAVAILABLE, which is highly recommended")
Traceback (most recent call last):
File "D:/syh/ABD-Net-master/train.py", line 391, in
main()
File "D:/syh/ABD-Net-master/train.py", line 124, in main
distmat = test(model, queryloader, galleryloader, use_gpu, return_distmat=True)
File "D:/syh/ABD-Net-master/train.py", line 290, in test
enumerator = enumerate(zip(queryloader[0], queryloader[1]))
File "D:\CONDA\envs\py10\lib\site-packages\torch\utils\data\dataloader.py", line 278, in iter
return _MultiProcessingDataLoaderIter(self)
File "D:\CONDA\envs\py10\lib\site-packages\torch\utils\data\dataloader.py", line 682, in init
w.start()
File "D:\CONDA\envs\py10\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "D:\CONDA\envs\py10\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\CONDA\envs\py10\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\CONDA\envs\py10\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "D:\CONDA\envs\py10\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'build_transforms..'

And EOFError: Ran out of input!!!
CAN u help me!!thanks very much.Looking forward to your reply!

@syh-hue syh-hue closed this as completed Jul 28, 2021
@syh-hue syh-hue reopened this Jul 28, 2021
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

1 participant