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 problem #13

Open
zhangbaijin opened this issue Apr 13, 2020 · 0 comments
Open

train problem #13

zhangbaijin opened this issue Apr 13, 2020 · 0 comments

Comments

@zhangbaijin
Copy link

Hello, thank you very much for your work. Now I want to try Paris street. I create Paris in dataset, and then I create the subdirectories data and Val, test. But running train.py will give an error, and I can't find the picture of my training. My mask is made by myself. Why?

Traceback (most recent call last): File "places2_train.py", line 54, in <module> img, mask, gt = zip(*[places2[i] for i in range(1)]) # returns tuple of a single batch of 3x256x256 images File "places2_train.py", line 54, in <listcomp> img, mask, gt = zip(*[places2[i] for i in range(1)]) # returns tuple of a single batch of 3x256x256 images File "places2_train.py", line 41, in __getitem__ gt_img = Image.open(self.img_paths[index]) IndexError: list index out of range

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