-
Notifications
You must be signed in to change notification settings - Fork 138
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
Single GPU training error in DER #13
Comments
Would you mind sharing the error logs? "device": ["0","1","2","3"], to "device": ["0"] , and you can run the algos with single GPU. |
I haven't tried other methods, but for DER, something like this might be necessary: htwang14@e15cbe5 |
Thanks, I have fixed the problem. def train(self):
self._network.train()
if len(self._multiple_gpus) > 1 :
self._network_module_ptr = self._network.module
else:
self._network_module_ptr = self._network
self._network_module_ptr.convnets[-1].train()
if self._cur_task >= 1:
for i in range(self._cur_task):
self._network_module_ptr.convnets[i].eval() Hope this can help you. |
Hi,
Thank you for this wonderful code base!
I noticed the current version doesn't support single GPU training. Could you please add this feature?
Thank you!
The text was updated successfully, but these errors were encountered: