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

Predict output black images #29

Open
darvida opened this issue Apr 20, 2020 · 0 comments
Open

Predict output black images #29

darvida opened this issue Apr 20, 2020 · 0 comments

Comments

@darvida
Copy link

darvida commented Apr 20, 2020

Hello i have trained the model with 3 classes.
The data.py classes looks like:
`
BackGround = [0, 0, 0]
road = [2, 2, 2]

COLOR_DICT = np.array([BackGround, road])

one = [1, 1, 1]

COLOR_DICT = np.array([BackGround,road,one])
...
self.image_color_mode = "rgb"
self.label_color_mode = "rgb"

    self.flag_multi_class = flag_multi_class
    self.num_class = num_classes
    self.target_size = (512, 512)
    self.img_type = 'jpg'

`

I have annotated the images with background color (0,0,0), class 1 (1,1,1) and class 2 (2,2,2).
When training it went up to 98% accuracy early in the training, which might indicate that something might be wrong.

Can anyone help me out ?

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