first commit
This commit is contained in:
		
							
								
								
									
										3
									
								
								MobileNetV3/script/download_preprocessed_dataset.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								MobileNetV3/script/download_preprocessed_dataset.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| echo '[Downloading processed]' | ||||
| python main_exp/get_files/get_preprocessed_data.py | ||||
| python main_exp/get_files/get_preprocessed_score_model_data.py | ||||
							
								
								
									
										13
									
								
								MobileNetV3/script/download_raw_dataset.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								MobileNetV3/script/download_raw_dataset.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| DATANAME=$1 | ||||
|  | ||||
| if [[ $DATANAME = 'aircraft' ]]; then | ||||
|     echo '[Downloading aircraft]' | ||||
|     python main_exp/get_files/get_aircraft.py | ||||
|  | ||||
| elif [[ $DATANAME = 'pets' ]]; then | ||||
|     echo '[Downloading pets]' | ||||
|     python main_exp/get_files/get_pets.py | ||||
|  | ||||
| else | ||||
|     echo 'Not Implemeted' | ||||
| fi | ||||
							
								
								
									
										5
									
								
								MobileNetV3/script/tr_meta_surrogate_ofa.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								MobileNetV3/script/tr_meta_surrogate_ofa.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| FOLDER_NAME='tr_meta_surrogate_ofa' | ||||
|  | ||||
| CUDA_VISIBLE_DEVICES=$1 python main.py --config configs/tr_meta_surrogate_ofa.py \ | ||||
|     --mode train \ | ||||
|     --config.folder_name $FOLDER_NAME | ||||
							
								
								
									
										5
									
								
								MobileNetV3/script/tr_scorenet_ofa.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								MobileNetV3/script/tr_scorenet_ofa.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| FOLDER_NAME='tr_scorenet_ofa' | ||||
|  | ||||
| CUDA_VISIBLE_DEVICES=$1 python main.py --config configs/tr_scorenet_ofa.py \ | ||||
|     --mode train \ | ||||
|     --config.folder_name $FOLDER_NAME | ||||
							
								
								
									
										14
									
								
								MobileNetV3/script/transfer_nag.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								MobileNetV3/script/transfer_nag.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| FOLDER_NAME='transfer_nag_ofa' | ||||
|  | ||||
| N=30 | ||||
| GENSAMPLES=5000 | ||||
| GPU=$1 | ||||
| DATANAME=$2 | ||||
|  | ||||
|  | ||||
| CUDA_VISIBLE_DEVICES=$GPU python main_exp/run_transfer_nag.py \ | ||||
|     --test --data-name $DATANAME --gpu $GPU \ | ||||
|     --folder_name $FOLDER_NAME \ | ||||
|     --nvt 27 --search_space ofa --graph-data-name ofa \ | ||||
|     --epochs 500 --n_gen_samples $GENSAMPLES --classifier_scale 500 \ | ||||
|     --n_training_samples $N | ||||
		Reference in New Issue
	
	Block a user