pytorch-deepdream icon indicating copy to clipboard operation
pytorch-deepdream copied to clipboard

Added missing import

Open DavidLandup0 opened this issue 3 years ago • 1 comments

Looks like an import was missing for download_url_to_file from from torch.hub, in the AI Ephiphany reconstruction section. I've added the import at the top of the file, with other imports, to abide by the formatting already present, though, it might be a better idea to import it just before the new custom ResNet50 since it isn't used anywhere before?

DavidLandup0 avatar Jan 29 '22 10:01 DavidLandup0

Additionally turned off Matplotlib axis for cleaner output images - this one is more of a subjective change, so it might actually be against what you originally wrote. Feel free to prune the change if you don't like it :)

DavidLandup0 avatar Jan 29 '22 10:01 DavidLandup0