Skip to content

Bug fixes#8

Open
Serena-github-c wants to merge 2 commits intosaizk:mainfrom
Serena-github-c:main
Open

Bug fixes#8
Serena-github-c wants to merge 2 commits intosaizk:mainfrom
Serena-github-c:main

Conversation

@Serena-github-c
Copy link

great project. i was running inference using your models and found errors:

  1. in inference.py :
    the mask variable was being used before being declared, the if save: block breaks

  2. in transfomers.py:
    image normalization was NOT being applied to validation set images, resulting in mediocre predictions

the mask variable was being used before being declared. 
i got an error when i ran inference on models and wanted to save the results
Add the call to preprocessing, to apply normalization to the image before passing it to the model during inference. 

Ran the code without it and got terrible and random predictions.. found that you had included this line in a segmentation notebook but didnt include it in this script
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

Successfully merging this pull request may close these issues.

1 participant