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

训练时出现错误 #55

Open
fanzz1208 opened this issue Jan 31, 2023 · 0 comments
Open

训练时出现错误 #55

fanzz1208 opened this issue Jan 31, 2023 · 0 comments

Comments

@fanzz1208
Copy link

就运行的时候反应
手动停止后
^CTraceback (most recent call last):
File "/workspace/pycharm/workspace/pycharm/Train.py", line 120, in
for j,(imgs) in enumerate(train_batch):
File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 681, in next
data = self._next_data()
File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 721, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/workspace/pycharm/workspace/pycharm/model/utils.py", line 71, in getitem
image = np_load_frame(self.videos[video_name]['frame'][frame_name+i], self._resize_height, self._resize_width)
File "/workspace/pycharm/workspace/pycharm/model/utils.py", line 21, in np_load_frame
image_decoded = cv2.imread(filename)
KeyboardInterrupt

Process finished with exit code 1

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