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 issues #18

Open
han666888999 opened this issue Apr 20, 2020 · 2 comments
Open

train issues #18

han666888999 opened this issue Apr 20, 2020 · 2 comments

Comments

@han666888999
Copy link

When I run the train_voc.py,it run this issue.I don't know how to solve it

Traceback (most recent call last):
File "train_voc.py", line 453, in
agent.main()
File "train_voc.py", line 120, in main
self.train()
File "train_voc.py", line 129, in train
self.train_one_epoch()
File "train_voc.py", line 167, in train_one_epoch
for x, y, _ in tqdm_epoch:
File "/home/mjiang/.local/lib/python3.6/site-packages/tqdm/_tqdm.py", line 937, in iter
for obj in iterable:
File "/u/local/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 278, in iter
return _MultiProcessingDataLoaderIter(self)
File "/u/local/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 709, in init
self._try_put_index()
File "/u/local/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 826, in _try_put_index
index = self._next_index()
File "/u/local/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 318, in _next_index
return next(self.sampler_iter) # may raise StopIteration
File "/u/local/anaconda3/lib/python3.6/site-packages/torch/utils/data/sampler.py", line 199, in iter
for idx in self.sampler:
TypeError: 'list_iterator' object is not callable

thanks~

@fanjing136
Copy link

您好!
我在训练过程中出现一个很奇怪的问题,我训练了一个晚上了,可还是无法训练完成。一直处于epoch-2中训练。
image

@CharlesPikachu
Copy link

hello, how about trying this repo:https://github.com/SegmentationBLWX/sssegmentation

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

3 participants