Skip to content

Commit

Permalink
Use DL AMI
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinds committed Jul 7, 2023
1 parent 4045195 commit 09b0f64
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/guide-notebooks-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,23 @@ jobs:
run: |
set -xe
cd ${{ github.workspace }}
${HOME}/ci.sif pip install -e .
${HOME}/ci.sif nobrainer info
python -m venv env
source env/bin/activate
pip install --upgrade pip
pip install jupyter matplotlib
pip install -e .
nobrainer info
- name: run
run: |
set -xe
cd ${{ github.workspace }}
#for notebook in $(ls guide/[0-9][0-9]-*.ipynb); do
for notebook in $(ls guide/03-api_train_binary_segmentation.ipynb); do
echo "running ${notebook}"
${HOME}/ci.sif \
jupyter nbconvert \
--execute ${notebook} \
--to markdown \
--stdout
jupyter nbconvert \
--execute ${notebook} \
--to markdown \
--stdout
done
stop_ec2_runner:
Expand Down

0 comments on commit 09b0f64

Please sign in to comment.