-
Notifications
You must be signed in to change notification settings - Fork 19
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
problem of dataset.py #6
Comments
Hello @zwz-append , Is the .lst file like this?
|
Guys did you solve this issue? |
hello,@kadirnar. thank you for your replying. The file of 'test_pair.lst' is same as you. |
hello, @xavysp. I have solved the above issue. But,I meet a new issue about issue. "TypeError: '>' not supported between instances of 'int' and 'NoneType'" ### in lin 491 of dataset.py. I set parameters as you. Do you konw how to address this issue. |
I fixed it by updating the image_size code.
|
I am sorry. Can you tell me the output of crop_size and img.shape? It throws an error because there is no Int object. I don't remember what I changed, but I am training in colab with these codes. |
Thanks @kadirnar. I have found 'crop_size -> None, img.shape (720, 1280, 3)'. What can i do to adjust the crop_size. |
If you can share the codes on github I can help. Crop_Size: 352 |
Thanks @ kadirnar. I have checked and changed my code https://github.com/xavysp/LDC/blob/main/main.py#L329-L336 as you showed me. The img_width == 352, but the img_heigth == 480, so I have changed both paremeters == 352. That's ok. Thanks! |
hi!Have you finished reproducing this code?Please help me if you can. |
lin271 ith open(list_name) as f:
files = json.load(f)
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I can't deal it? Thank you for your testing
The text was updated successfully, but these errors were encountered: