You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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~
The text was updated successfully, but these errors were encountered:
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~
The text was updated successfully, but these errors were encountered: