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
Assertion error at LoadBatches.py for training #35
Comments
Am I right when I say you are on windows? If you're not, then sorry but I don't have any ideas. Have a good one :) |
Yes, I'm on windows. I did the following (after aplying the modification you suggested): and that was the response: data/dataset1/images_prepped_test\0016E5_08159.png |
So it worked? |
Now I'm having this error: =( |
I made the modification you mentioned, I think that assertion error is ok now, but I'm having this new error I've just mentioned above =( |
Ok that error is because you are on python 3.X So in your case : |
It worked! thanks a lot for your time!!! I'm rookie on python, so it's kind of hard to solve these errors on my own... I want to use the code to apply to my own dataset, so it's likely I'll need help again... Thanks again! |
You're very welcome ! |
Could you answer one more question? The instructions by the author tell us to use --input_height = 320 and --input_width = 640, but these are not the exact dimensions of the images from the dataset. How those values influence on the code? |
For me, they cause an error for me ! I removed these arguments |
@matheuscass there are multiple reasons that we do not use the original size of the images. If the images are very large, the the size of the CNN would also increase which means slower training time and more memory. In most cases, larger the image, you would have to use more number of layers. |
@divamgupta |
You can first resize the image before inputting to the model and resize the output to the original dimensions |
I'm having the following error: /LoadBatches.py", line 71, in imageSegmentationGenerator
assert( im.split('/')[-1].split(".")[0] == seg.split('/')[-1].split(".")[0] )
AssertionError
Any thoughts? =(
The text was updated successfully, but these errors were encountered: