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 module not giving expected output #102

Closed
Soorya19Pradeep opened this issue Jul 5, 2024 · 3 comments
Closed

Predict module not giving expected output #102

Soorya19Pradeep opened this issue Jul 5, 2024 · 3 comments
Assignees

Comments

@Soorya19Pradeep
Copy link
Contributor

The output images generated by the prediction module are not as expected. Here is the snapshot of the prediction from the 2D infection classifier trained for BJ5 cells generated using the test module:
image
This is the ground truth image of the infection score:
image
Here is the output from the prediction module:
image
@ziw-liu, where do you think this can originate, and can you please help me debug this? Thanks!

@mattersoflight
Copy link
Member

mattersoflight commented Jul 6, 2024

@Soorya19Pradeep please link the path to the module or your script that needs debugging here. Thanks for flagging this!

@Soorya19Pradeep
Copy link
Contributor Author

Soorya19Pradeep commented Jul 7, 2024

Sure @mattersoflight . The problem seems to come from the prediction module in my code here. The same line in the test module here gives the right result (first image above).
I will inspect the source fed to the model in each of these modules and update the issue.

@Soorya19Pradeep
Copy link
Contributor Author

I am closing the issue here. The issue has been resolved.
There were two issues here. The issue with the prediction was already resolved when I recreated a fresh conda environment using a fresh installation of VisCy.
Secondly, the issue seemed to persist as napari did not show me the new results. The wrong result kept showing even when I reopened a fresh napari window and created new zarr stores. On loading the same zarr today with a new OnDemand session it shows the expected result.

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

3 participants