mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
remove tk's and clean up writing
This commit is contained in:
1 parent
baf768b8a6
commit
b2ca6c3111
1 file changed
+3
-3
@@ -454,7 +454,7 @@
|
||||
" # Get GPU name\n",
|
||||
" gpu_name = !nvidia-smi --query-gpu=gpu_name --format=csv\n",
|
||||
" gpu_name = gpu_name[1]\n",
|
||||
" GPU_NAME = gpu_name.replace(\" \", \"_\")\n",
|
||||
" GPU_NAME = gpu_name.replace(\" \", \"_\") # remove underscores for easier saving\n",
|
||||
" print(f'GPU name: {GPU_NAME}')\n",
|
||||
"\n",
|
||||
" # Get GPU capability score\n",
|
||||
@@ -2166,8 +2166,8 @@
|
||||
"os.makedirs(pytorch_2_single_run_results_dir, exist_ok=True)\n",
|
||||
"\n",
|
||||
"# Create filenames for each of the dataframes\n",
|
||||
"save_name_for_non_compiled_results = f\"single_run_non_compiled_results_{DATASET_NAME}_{MODEL_NAME}_{GPU_NAME.replace(' ', '_')}.csv\"\n",
|
||||
"save_name_for_compiled_results = f\"single_run_compiled_results_{DATASET_NAME}_{MODEL_NAME}_{GPU_NAME.replace(' ', '_')}.csv\"\n",
|
||||
"save_name_for_non_compiled_results = f\"single_run_non_compiled_results_{DATASET_NAME}_{MODEL_NAME}_{GPU_NAME}.csv\"\n",
|
||||
"save_name_for_compiled_results = f\"single_run_compiled_results_{DATASET_NAME}_{MODEL_NAME}_{GPU_NAME}.csv\"\n",
|
||||
"\n",
|
||||
"# Create filepaths to save the results to\n",
|
||||
"single_run_no_compile_save_path = f\"{pytorch_2_single_run_results_dir}/{save_name_for_non_compiled_results}\"\n",
|
||||
|
||||
Reference in new issue
Block a user