Skip to content

Commit

Permalink
[Colab] Check installed packages and quiet install (#400)
Browse files Browse the repository at this point in the history
Update easy_colab.ipynb

Check installed packages
Quiet install

Both output to logs/
  • Loading branch information
sdatkinson authored Apr 13, 2024
1 parent f796049 commit 6cb0266
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/train/easy_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 6cb0266

Please sign in to comment.