run.sh 632 B

123456789101112131415161718
  1. #!/bin/bash
  2. metric="svd_reconstruction"
  3. for begin in {80,85,90,95,100,105,110}; do
  4. for end in {150,160,170,180,190,200}; do
  5. # python generate_reconstructed_data.py --metric ${metric} --interval "${begin}, ${end}"
  6. for zone in {6,8,10,12}; do
  7. OUTPUT_DATA_FILE="${metric}_nb_zones_${zone}_B${begin}_E${end}"
  8. python generate_dataset.py --output data/${OUTPUT_DATA_FILE} --metric ${metric} --renderer "maxwell" --scenes "A, D, G, H" --interval "${begin}, ${end}" --nb_zones ${zone} --random 1
  9. python train_model.py --data data/${OUTPUT_DATA_FILE} --output ${OUTPUT_DATA_FILE}
  10. done
  11. done
  12. done