Skip to content
Snippets Groups Projects
Commit 25064c53 authored by Michael Langguth's avatar Michael Langguth
Browse files

Further adaptions to the runscripts.

parent 56408810
No related branches found
No related tags found
No related merge requests found
Pipeline #59353 passed
...@@ -43,5 +43,7 @@ sequences_per_file=10 ...@@ -43,5 +43,7 @@ sequences_per_file=10
sequence_length=20 sequence_length=20
# run preprocessing (step 2 where Tf-records are generated) # run preprocessing (step 2 where Tf-records are generated)
srun python ../main_scripts/main_preprocess_data_step2.py -input_dir ${source_dir} -output_dir ${destination_dir} -datasplit_config ${datasplit_dir} -hparams_dict_config ${hparams_dict_config} -sequences_per_file ${sequences_per_file} srun python ../main_scripts/main_preprocess_data_step2.py -input_dir ${source_dir} -output_dir ${destination_dir}
-datasplit_config ${datasplit_dir} -hparams_dict_config ${hparams_dict_config}
-sequences_per_file ${sequences_per_file}
...@@ -37,4 +37,4 @@ source_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/preprocess ...@@ -37,4 +37,4 @@ source_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/preprocess
destination_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/preprocessedData/moving_mnist destination_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/preprocessedData/moving_mnist
# run Preprocessing (step 2 where Tf-records are generated) # run Preprocessing (step 2 where Tf-records are generated)
srun python ../video_prediction/datasets/moving_mnist.py ${source_dir} ${destination_dir}/tfrecords srun python ../video_prediction/datasets/moving_mnist.py ${source_dir} ${destination_dir}
...@@ -43,9 +43,11 @@ destination_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/model ...@@ -43,9 +43,11 @@ destination_dir=/p/project/deepacf/deeprain/video_prediction_shared_folder/model
model=convLSTM model=convLSTM
datasplit_dict=../data_split/cv_test.json datasplit_dict=../data_split/cv_test.json
model_hparams=${destination_dir}/model_hparams.json model_hparams=${destination_dir}/model_hparams.json
dataset=era5
# run training # run training
srun python ../main_scripts/main_train_models.py --input_dir ${source_dir} --datasplit_dict ${datasplit_dict} --dataset era5 --model ${model} --model_hparams_dict ${model_hparams} --output_dir ${destination_dir} srun python ../main_scripts/main_train_models.py --input_dir ${source_dir} --datasplit_dict ${datasplit_dict}
--dataset ${dataset} --model ${model} --model_hparams_dict ${model_hparams} --output_dir ${destination_dir}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment