ModelCore.calc_criterion is not callable when running on multi-GPUs with torch.nn.DataParallel · Issue #679 · WenjieDu/PyPOTS · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. System Info
pypots v0.13
2. Information
3. Reproduction
Call
calc_criterion()
when the model is running on multiple GPUsPyPOTS/pypots/nn/modules/base_model_core.py
Line 48 in 0259a6c
4. Expected behavior
It fails because the model is wrapped in DataParallel, which only provides forward() for parallel running.
5. Your contribution
PR is on the way
The text was updated successfully, but these errors were encountered: