Open albusdemens opened 4 years ago
Current code (https://github.com/facebookresearch/pytorch_GAN_zoo/blob/382a96816f65235d2467b4d13ca4c4ed587f874a/models/eval/visualization.py#L68):
if checkpointData is None: raise FileNotFoundError( "Not checkpoint found for model " + name + " at directory " + dir)
Should be changed into something like
if checkpointData is None: print( "Checkpoint not found for model %s at directory %s" % (name, checkPointDir))
Current code (https://github.com/facebookresearch/pytorch_GAN_zoo/blob/382a96816f65235d2467b4d13ca4c4ed587f874a/models/eval/visualization.py#L68):
Should be changed into something like