imgclsmob
imgclsmob copied to clipboard
Support the XDG Base Directory Specification
pytorch now supports the XDG Base Directory specification https://github.com/pytorch/pytorch/issues/14693.
The pytorchcv module, provided by this repo is still using the hardcoded ~/.torch/models path.
You can see the "correct" logic for finding the .torch cache directory here.