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

How to make an abnormal picture be a normal one? #21

Open
Junyiliu0 opened this issue Sep 11, 2023 · 2 comments
Open

How to make an abnormal picture be a normal one? #21

Junyiliu0 opened this issue Sep 11, 2023 · 2 comments

Comments

@Junyiliu0
Copy link

I am using the chexpert data to transform the picture.
And I found a mistake (maybe).
During the dataload in chexpert dataset. The abnormal label is 0, and the normal label is 1.
But I found the code maybe just using label(0) to do. Maybe because it is suitable for "BRATSDataset".
image
I change it to force the label is 1.
Did I change it right? I think the code make the normal picture label is 1 for chexpert.
Hope your reply!
Thanks!

@JuliaWolleb
Copy link
Owner

Hi
yes you are right, in both datasets the class labels should be 0 for healthy, and 1 for diseased.
I suggest to adapt your dataloader such that the labels are consistent.

best, Julia

@Junyiliu0
Copy link
Author

I'm sorry to bother you again. When I use the code to make the normal picture. May be I want to generate about 5k pictures. I use batch_size =32 for infer. But I found It's getting slower and slower. Why this appear? I found "the time for 1000" become larger and larger.But the GPU memory hasn't changed.
image

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