Open caglarkucuk opened 1 year ago
Hi @caglarkucuk, you say above that you ran
python train_autoenc.py --model_dir="../models/autoenc_train"
successfully and then that the same command failed. Did you mean to have a different command on the second line?
Sorry, I pasted the wrong command while creating the issue. Edited the original post, apologies for the confusion
This is a very strange bug. The LDM training uses the same sampler code as the autoencoder training. So I don't understand why you would get the latter to work but not the former. Could you paste the layout of your data
directory and a longer traceback of the error? Also maybe remove the sampler_nowcaster_*.pkl
files from the cache
directory and try to run it again to see if it reoccurs?
Hi @jleinonen, I found the same error as @caglarkucuk mentioned when I ran the command /python train_autoenc.py --model_dir="../models/autoenc_train" in the directory of scripts/. I have downloaded the data you provided and put them in the directory of data/. No sampler files were produced in the directory of cache/. Thanks in advance!
Thanks @jleinonen for the quick response. I updated the original issue to provide further information, based on your suggestions.
Context
After successfully running
python forecast_demo.py
andpython train_autoenc.py --model_dir="../models/autoenc_train"
, I couldn't get thepython train_genforecast.py --model_dir="../models/genforecast_train"
command running due to problems in caching the sampler for test and training set.When running
python train_genforecast.py --model_dir="../models/genforecast_train"
:Expected behaviour
cache
directory for valid, test, and train datasetsActual behaviour
../cache/sampler_nowcaster_valid.pkl
Additional information
sampler_nowcaster*
in thecache
folder and tried the same commandpython train_genforecast.py --model_dir="../models/genforecast_train"
, received the same errorsampler_*_valid.pkl
files)37 directories, 149 files