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

Finetune ImageMol with multiclass labels #7

Closed
pykao opened this issue Feb 16, 2023 · 2 comments
Closed

Finetune ImageMol with multiclass labels #7

pykao opened this issue Feb 16, 2023 · 2 comments

Comments

@pykao
Copy link
Contributor

pykao commented Feb 16, 2023

Hi @HongxinXiang ,

For the downstream classification task, can the ImageMol be trained using multiclass labels?

Best,
PYK

@HongxinXiang
Copy link
Owner

Of course you can, you just need to change num_tasks in the code below to the number of classes:
model = load_model(..., num_classes=num_tasks)

@pykao
Copy link
Contributor Author

pykao commented Feb 17, 2023

Thanks for you reply.

@pykao pykao closed this as completed Feb 17, 2023
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