A few minor fix to get hubconf local test running.
To test locally:
Clone and rename this repo to ~/.torch/hub/pytorch_GAN_zoo_REFACTOR_hubconf
run with pytorch 1.0+
import torch.hub
torch.hub.load('fairinternal/pytorch_GAN_zoo:REFACTOR_hubconf', 'DCGAN',useGPU=True, pretrained=False)
#pretrained=True is waiting for pretrained weights to be available.
A few minor fix to get hubconf local test running.
To test locally:
~/.torch/hub/pytorch_GAN_zoo_REFACTOR_hubconf