Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- results_evaluation_scores.txt +0 -0
- results_models-parameters_list.txt +8 -0
- run_on_scc.sh +29 -0
results_evaluation_scores.txt
ADDED
File without changes
|
results_models-parameters_list.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"Dataset": "Binary Colon", "Binary": "True", "Image": False, "TM_use": false, "value": None, "Interpolation_value": None, "Noise": false, "noise_type": false, "augmentation": false, "shear_factor": None, "shear_prop": 0, "crop_scale_factor": None, "crop_scale_prop": 0, "flip_code": None, "flip_prop": 0, "rotation_angle": None, "rotate_prop": 0, "color_number": None, "color_prop": 0, "blur_param": None, "blur_prop": 0, "features": False, "glcm_distance": None, "glcm_angle": None, "glcm_prop": 0, "lbp_radius": None, "lbp_prop": 0, "haralick_prop": 0, "Machine": "Binary SVM", "lr": None, "epochs": None}
|
2 |
+
|
3 |
+
{"Dataset": "Binary Colon", "Binary": "True", "Image": False, "TM_use": false, "value": None, "Interpolation_value": None, "Noise": false, "noise_type": false, "augmentation": false, "shear_factor": None, "shear_prop": 0, "crop_scale_factor": None, "crop_scale_prop": 0, "flip_code": None, "flip_prop": 0, "rotation_angle": None, "rotate_prop": 0, "color_number": None, "color_prop": 0, "blur_param": None, "blur_prop": 0, "features": False, "glcm_distance": None, "glcm_angle": None, "glcm_prop": 0, "lbp_radius": None, "lbp_prop": 0, "haralick_prop": 0, "Machine": "Binary KNN", "lr": None, "epochs": None}
|
4 |
+
|
5 |
+
{"Dataset": "Binary Lung", "Binary": "True", "Image": False, "TM_use": false, "value": None, "Interpolation_value": None, "Noise": false, "noise_type": false, "augmentation": false, "shear_factor": None, "shear_prop": 0, "crop_scale_factor": None, "crop_scale_prop": 0, "flip_code": None, "flip_prop": 0, "rotation_angle": None, "rotate_prop": 0, "color_number": None, "color_prop": 0, "blur_param": None, "blur_prop": 0, "features": False, "glcm_distance": None, "glcm_angle": None, "glcm_prop": 0, "lbp_radius": None, "lbp_prop": 0, "haralick_prop": 0, "Machine": "Binary SVM", "lr": None, "epochs": None}
|
6 |
+
|
7 |
+
{"Dataset": "Binary Lung", "Binary": "True", "Image": False, "TM_use": false, "value": None, "Interpolation_value": None, "Noise": false, "noise_type": false, "augmentation": false, "shear_factor": None, "shear_prop": 0, "crop_scale_factor": None, "crop_scale_prop": 0, "flip_code": None, "flip_prop": 0, "rotation_angle": None, "rotate_prop": 0, "color_number": None, "color_prop": 0, "blur_param": None, "blur_prop": 0, "features": False, "glcm_distance": None, "glcm_angle": None, "glcm_prop": 0, "lbp_radius": None, "lbp_prop": 0, "haralick_prop": 0, "Machine": "Binary KNN", "lr": None, "epochs": None}
|
8 |
+
|
run_on_scc.sh
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
4 |
+
eval "$(ssh-agent -s)"
|
5 |
+
fi
|
6 |
+
|
7 |
+
ssh-add ~/.ssh/id_rsa
|
8 |
+
|
9 |
+
# Define variables
|
10 |
+
LOCAL_INPUT="results/models-parameters_list.txt"
|
11 |
+
REMOTE_DIR="../../../projectnb/mlresearch/master"
|
12 |
+
REMOTE_SCRIPT="$REMOTE_DIR/main.py"
|
13 |
+
OUTPUT_FILE="results/evaluation_scores.txt"
|
14 |
+
REMOTE_OUTPUT="$REMOTE_DIR/$OUTPUT_FILE"
|
15 |
+
LOCAL_OUTPUT="results/evaluation_scores.txt"
|
16 |
+
REMOTE_SERVER="[email protected]"
|
17 |
+
|
18 |
+
# Step 1: Transfer the text file to the SCC
|
19 |
+
scp $LOCAL_INPUT $REMOTE_SERVER:$REMOTE_DIR
|
20 |
+
|
21 |
+
# Step 2: Run the Python script on the SCC
|
22 |
+
ssh $REMOTE_SERVER "python3 $REMOTE_SCRIPT > $REMOTE_OUTPUT"
|
23 |
+
|
24 |
+
# Step 3: Transfer the result back to the local machine
|
25 |
+
scp $REMOTE_SERVER:$REMOTE_OUTPUT $LOCAL_OUTPUT
|
26 |
+
|
27 |
+
# Optional: Print message
|
28 |
+
echo "File transfer and processing complete."
|
29 |
+
|