commit 6cb0266e3a9b23f6726e9451dd6435e30db90a2e
parent f7960499a060ad7f725634c1c331a01548a0a733
Author: Steven Atkinson <steven@atkinson.mn>
Date: Sat, 13 Apr 2024 11:28:28 -0700
[Colab] Check installed packages and quiet install (#400)
Update easy_colab.ipynb
Check installed packages
Quiet install
Both output to logs/
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/train/easy_colab.ipynb b/bin/train/easy_colab.ipynb
@@ -51,7 +51,11 @@
"try:\n",
" import nam\n",
"except ImportError as e:\n",
- " !pip install neural-amp-modeler\n",
+ " print(\"Installing NAM into Colab. This should take under 2 minutes.\")\n",
+ " # Check what we're starting with (Issue 399)\n",
+ " !if [ ! -d logs ]; then mkdir logs; fi\n",
+ " !pip list > logs/packages.log\n",
+ " !pip install neural-amp-modeler > logs/install.log\n",
" # Hint: use the next line instead for the very latest!\n",
" # !pip install git+https://github.com/sdatkinson/neural-amp-modeler.git@main\n",
"\n",
@@ -69,7 +73,7 @@
"#@markdown # Training parameters\n",
"epochs = 100 #@param {type: \"number\"}\n",
"architecture = \"standard\" #@param [\"standard\", \"lite\", \"feather\", \"nano\"] {type: \"string\"}\n",
- "latency_samples = \"0\" #@param {type: \"string\"}\n",
+ "latency_samples = \"auto\" #@param {type: \"string\"}\n",
"fit_cab = False #@param {type: \"boolean\"}\n",
"ignore_checks = False #@param {type: \"boolean\"}\n",
"\n",