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

GPU not used ? #37

Open
TasosR83 opened this issue Jul 22, 2020 · 1 comment
Open

GPU not used ? #37

TasosR83 opened this issue Jul 22, 2020 · 1 comment

Comments

@TasosR83
Copy link

I try to re-train the model but I don't think that the GPU is ever used ...

The part of the code I use is:

model = torchmoji_transfer(nb_classes, weight_path=pretrained_path)
model, acc = finetune(model, split_texts, split_labels, nb_classes, batch_size, nb_epochs = 1000, method =  'chain-thaw')

and GPU doesn't show to increase its usage

@kareemgamalmahmoud
Copy link

Can you share the whole code !!

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