slurm/gen_real.sh
# path=components_generalize/lights_array_

# for data in primitive_cube,primitive_sphere,primitive_cylinder,primitive_cone,primitive_torus 
# do
#     for lr in 0.001
#     do
#         save_path=${path}_shader_${lr}
#         # echo ${save_path}
#         # sbatch -c 6 --qos=tenenbaum --gres=gpu:titan-x:1 --mem=60G --time=3-12:0 shader.py --lr ${lr} --save_path ${save_path}
#         for lights_mult in 1
#         do
#             save_path=${path}_decomp_${data}_${lr}lr_${lights_mult}lights
#             echo ${save_path}
#             sbatch -c 6 --qos=tenenbaum --gres=gpu:titan-x:1 --mem=60G --time=3-12:0 -J ${lights_mult}_${data} decomposer.py \
#                 --lr ${lr} --save_path ${save_path} --lights_mult ${lights_mult} \
#                 --train_sets ${data} --val_sets ${data},primitive_suzanne --set_size 10000 \
#                 --array shader3
#         done
#     done
# done

####

path=logs_real/airplane_


# for style_mult in 0 1e-6 1e-9 1e-10 1e-11 1e-12 1e-13 1e-14 1e-15
# do
for lr in 0.001
do
    for lab_mult in .01
    do
        for correspondence_mult in 0 #0.1
        do
            for relight_mult in 0 #0.1 0.01
            do
                for relight_sigma in 0 #1 1.5 2 2.5
                do
                    save_path=${path}_${lr}lr_${correspondence_mult}corr-mult_${lab_mult}lab-mult_${relight_mult}relight-mult_${relight_sigma}relight-sigma
                    echo ${save_path}
                    sbatch  -c 6 --qos=tenenbaum -J real --gres=gpu:titan-x:1 --mem=60G --time=3-12:0 composer.py \
                            --lab_mult ${lab_mult} --correspondence_mult ${correspondence_mult} \
                            --relight_sigma ${relight_sigma} --relight_mult ${relight_mult} \
                            --save_path ${save_path} --lr ${lr} \
                            --decomposer components/vector_depth_state_decomp_motorbike_vector,airplane_vector,car_vector_0.01lr_1lights/state.t7 \
                            --unlabeled ../../coco/airplane_intrinsics/ --labeled airplane_vector,motorbike_vector,car_vector \
                            --val_sets ../../coco/airplane_intrinsics/ \
                            --unlabeled_array shader2 --labeled_array shader2 --transfer 5-normals_5-reflectance \
                            --set_size 244 --num_val 50 --iters 1 --val_offset 1
                done
            done
        done
    done
done
# done


# path=logs_generalize/category_transfer_bottle_


# # for style_mult in 0 1e-6 1e-9 1e-10 1e-11 1e-12 1e-13 1e-14 1e-15
# # do
# for lr in 0.01 0.001
# do
#     for lab_mult in .01
#     do
#         for correspondence_mult in 0 #0.1
#         do
#             for relight_mult in 0 #0.1 0.01
#             do
#                 for relight_sigma in 0 #1 1.5 2 2.5
#                 do
#                     save_path=${path}_${lr}lr_${correspondence_mult}corr-mult_${lab_mult}lab-mult_${relight_mult}relight-mult_${relight_sigma}relight-sigma
#                     echo ${save_path}
#                     sbatch  -c 6 --qos=tenenbaum --gres=gpu:titan-x:1 --mem=60G --time=3-12:0 -J ${lr}_${lab_mult} composer.py \
#                             --lab_mult ${lab_mult} --correspondence_mult ${correspondence_mult} \
#                             --relight_sigma ${relight_sigma} --relight_mult ${relight_mult} \
#                             --save_path ${save_path} --lr ${lr} \
#                             --decomposer components/vector_depth_state_decomp_motorbike_vector,airplane_vector,car_vector_0.01lr_1lights/state.t7 \
#                             --unlabeled bottle_vector --labeled airplane_vector,car_vector,motorbike_vector \
#                             --val_sets bottle_vector \
#                             --unlabeled_array shader2 --labeled_array shader2 --transfer 5-normals_5-reflectance \
#                             --set_size 3200 --num_val 50 --iters 4
#                 done
#             done
#         done
#     done
# done
# # done







