Skip to content

Commit

Permalink
update slide deck4
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojmdavid committed Jan 19, 2024
1 parent ebc55d5 commit e82210e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/udocker/udocker-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ sbatch run-keras.sh
The script executes:

```bash
udocker run -v $TUT_DIR/tensorflow:/home/user -w /home/user tf_gpu python3 keras_example_small.py
udocker run -v $TUT_DIR/udocker-files/tensorflow:/home/user -w /home/user tf_gpu python3 keras_2_small.py
```

---
Expand Down
4 changes: 2 additions & 2 deletions udocker-files/prep-cont.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --gres=gpu

export TUT_DIR=$HOME/udocker-tutorial
export PATH=$HOME/udocker-1.3.11/udocker:$PATH
export PATH=$HOME/udocker-1.3.10/udocker:$PATH
cd $TUT_DIR
export UDOCKER_DIR=$TUT_DIR/.udocker
module load python/3.10.8
Expand All @@ -27,4 +27,4 @@ udocker setup --execmode=F3 --force tf_gpu
udocker setup --nvidia --force tf_gpu
echo
echo ">> List containers"
udocker ps -m -s -p
udocker ps -m -p
2 changes: 1 addition & 1 deletion udocker-files/run-keras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#SBATCH --error=keras-%j.err

export TUT_DIR=$HOME/udocker-tutorial
export PATH=$HOME/udocker-1.3.11/udocker:$PATH
export PATH=$HOME/udocker-1.3.10/udocker:$PATH
export UDOCKER_DIR=$TUT_DIR/.udocker
module load python/3.10.8
cd $TUT_DIR
Expand Down

0 comments on commit e82210e

Please sign in to comment.