pytorch/vision

LSUN caching is ugly

Open

#825 创建于 2019年3月29日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (6,858 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (15,050 star)
PR 合并指标
 (平均合并 12天 8小时) (30 天内合并 14 个 PR)

描述

The cache for the LSUN dataset (136MB just for bedrooms) gets dumped into the same directory as the script you're running, with a filename that's a function of the path to the dataset itself. Generating the cache can take several hours, eg on a standard EC2 server with EBS disk. If you want to run a script in a different folder, you have to regenerate the cache (hours) or copy the cache file to the new folder. If you move the dataset to a different folder, you either regenerate the cache or try to modify the cache filename to match the new path. No matter what you have cache files side by side with your code that need special gitignore directives (they don't have an extension to use wildcards on).

It should be possible to put the cache file in the data directory or something to fix these issues.

贡献者指南