Fix seeding bug introduced in the completely wrong commit f64b1e4

This commit is contained in:
Yin Li 2020-01-06 20:20:05 -05:00
parent 848dc87169
commit 9cf97b3ac1
7 changed files with 11 additions and 14 deletions

View file

@ -27,7 +27,7 @@ tgt_dir="nonlin"
test_dirs="*99"
files="dis/512x000.npy"
files="dis.npy"
in_files="$files"
tgt_files="$files"

View file

@ -29,7 +29,7 @@ tgt_dir="nonlin"
train_dirs="*[0-8]"
val_dirs="*[0-8]9"
files="dis/512x000.npy"
files="dis.npy"
in_files="$files"
tgt_files="$files"
@ -41,7 +41,7 @@ srun m2m.py train \
--val-tgt-patterns "$data_root_dir/$tgt_dir/$val_dirs/$tgt_files" \
--norms cosmology.dis --augment --crop 100 --pad 42 \
--model VNet \
--epochs 128 --lr 0.001 --batches 1 --loader-workers 0 \
--epochs 128 --lr 0.001 --batches 1 --loader-workers 0 --seed $RANDOM \
--cache --div-data
# --load-state checkpoint.pth \

View file

@ -27,7 +27,7 @@ tgt_dir="nonlin"
test_dirs="*99"
files="vel/512x000.npy"
files="vel.npy"
in_files="$files"
tgt_files="$files"

View file

@ -29,7 +29,7 @@ tgt_dir="nonlin"
train_dirs="*[0-8]"
val_dirs="*[0-8]9"
files="vel/512x000.npy"
files="vel.npy"
in_files="$files"
tgt_files="$files"
@ -41,7 +41,7 @@ srun m2m.py train \
--val-tgt-patterns "$data_root_dir/$tgt_dir/$val_dirs/$tgt_files" \
--norms cosmology.vel --augment --crop 100 --pad 42 \
--model VNet \
--epochs 128 --lr 0.001 --batches 1 --loader-workers 0 \
--epochs 128 --lr 0.001 --batches 1 --loader-workers 0 --seed $RANDOM \
--cache --div-data
# --load-state checkpoint.pth \