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

Issue with testing a tif image #22

Open
srikrvd opened this issue Aug 30, 2019 · 1 comment
Open

Issue with testing a tif image #22

srikrvd opened this issue Aug 30, 2019 · 1 comment

Comments

@srikrvd
Copy link

srikrvd commented Aug 30, 2019

Hi Issam,

I trained the LCFCN for a cell counting use case. When I test a TIF image, the model gives the following error,
RuntimeError: output with shape [1, 2048, 2048] doesn't match the broadcast shape [3, 2048, 2048]
But when I convert the same image to a JPG, the model predicts the count. On the downside, since I convert to a JPG, there is some information loss and the cell count is not accurate.
May I know why is this happening and how to solve this?

Thanks,
Srikanth

@srikrvd srikrvd changed the title Issue with testing a tif issue Issue with testing a tif image Sep 10, 2019
@IssamLaradji
Copy link
Collaborator

Is there a way you can make the TIF image have 3 channels in the first dimension without having to convert it to JPG?

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

2 participants