-
Notifications
You must be signed in to change notification settings - Fork 123
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
i trained the new model,and modified the Num_class to 3,original 19, however, i got the results img fullfilled with pink color after i ran the inference, i don't know why? #52
Comments
i modified the train.py here: and |
Could you please tell me what flags you used when training? |
and removed the labels i didn't demand,only keeps the initial three labels, namely, and keeps other codes same as original codes |
@hellochick |
@hellochick i 've confused when i modified |
@hellochick ,HI,guy, could you plz remind me how to configure the following network parameters when i changed the input imgs with 1280x720 size(width:1280)? i checked the original training imgs which are 720x720(SIZE), i think avg_pool, and the following codes should be modified corresponding to different training datasets, it that correct? however, i tried to use the original codes to train my datasets without any modification of follows, it still could be trained , and finally, the loss converged to 0.092, at last , i ran the inference code to evaluate the test imgs,and got the unexpected results, segmentation failed with a pink color (indeed corresponding to Road label) img generated, i don't know why? any help will be appreciated so much, thanks in advance. self.feed('conv5_3/relu') (self.feed('conv5_3/relu') |
#52 (comment) |
@narendoraiswamy , yes, i think if you increased the num_classes to 22, you must have the annotation pics according with 22 color_labels, i wonder to know what 's the size of your input images for training? |
@sainttelant. Yes. I have made that change too. But i do not think that the input size will have any effect on the problem you are facing. But just in case, i am using images of size [1080, 1980, 3]. But have you made any other change than the ones mentioned above? Since your model is not supposed to have conv6 parameters at all if you have followed the same process and your inference wont happen with an error thrown. |
@sainttelant Could you please tell me what flags you used when training? my loss arround 2.0 |
as i mentioned above, i retrained the model with the input imgs 1280x720, and classified into 3 NUMS_classes, trained models based on the pretrained models. finally, it generated new *.cptk files, however, it exported all pink color images with every test images, no any segement edges , i don;t know why ? any knows?
The text was updated successfully, but these errors were encountered: