torsional-diffusion icon indicating copy to clipboard operation
torsional-diffusion copied to clipboard

num_samples should be a positive integer value, but got num_samples=0

Open Kai-X-Org opened this issue 2 years ago • 1 comments

Putting QM9 in the data folder, running the following python train.py --log_dir ./test_run --cache data/QM9/cache --data_dir data/QM9/qm9 --std_pickles data/QM9/standardized_pickles --split_path data/QM9/split.npy --dataset=qm9

keeps on giving a num_samples should be a positive integer value, but got num_samples=0 error. I checked and all the directories are correct. Is there something special about qm9 that merits a different treatment? Thanks.

Kai-X-Org avatar Apr 20 '23 08:04 Kai-X-Org

I had the same problem, and fixed it by adding a trailing slash to data_dir, i.e. --data_dir data/QM9/qm9/

alex-hh avatar Nov 25 '23 18:11 alex-hh