-
Notifications
You must be signed in to change notification settings - Fork 39
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
finetune the model you provided error #347
Comments
It should be possible to fine-tune it. Are you trying to finetune on a set of Cell Painting images? What is the size of your input images, including height, width and channels? |
@Arkkienkeli do you have any suggestion? |
Hi @shihanyu, it looks like that you load classification head, while in finetuning you need to you use your own classification head (490 is the number of classes we used to train the model, 327 is apparently the number of classes in your dataset). Here is the short example how you could use the model outside DeepProfiler:
|
I wanted to finetune the model "Cell_Painting_CNN_v1.hdf5", but error accured. says(1280,490) and (1280,327) does not match.
and I compared "Cell_Painting_CNN_v1.hdf5" and a model I trained from pretrained model in imagenet,their sizes are different.
so is there any way to let me finetune the model based on "Cell_Painting_CNN_v1.hdf5"?
The text was updated successfully, but these errors were encountered: