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
Describe the bug
Run examples/gan/pix2pix_facades_multi_gpu.py in a multi-gpu scenario. If you try to restore the training once finished you get an error due to wrong input shapes.
This is because in a multi-gpu scenario the batch size gets updated based on the number of devices.
Simply move the call to build_or_restore after the batch size update.
Expected behavior
The restorer should restore the models.
Code to reproduce the issue examples/gan/pix2pix_facades_multi_gpu.py
The text was updated successfully, but these errors were encountered:
mr-ubik
changed the title
[BUG/PERFORMANCE] - Restorer does not work with distributed training
[BUG] - Restorer does not work with distributed training
Apr 7, 2020
Describe the bug
Run
examples/gan/pix2pix_facades_multi_gpu.py
in a multi-gpu scenario. If you try to restore the training once finished you get an error due to wrong input shapes.This is because in a multi-gpu scenario the batch size gets updated based on the number of devices.
Simply move the call to
build_or_restore
after the batch size update.Expected behavior
The restorer should restore the models.
Code to reproduce the issue
examples/gan/pix2pix_facades_multi_gpu.py
The text was updated successfully, but these errors were encountered: