Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murphyk authored Jun 12, 2024
1 parent 213e10b commit cc2856e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ Then install manually.

If you want to save the figures, you first need to execute something like this
```
export FIG_DIR="/teamspace/studios/this_studio/figures"
#export FIG_DIR="/teamspace/studios/this_studio/figures"
import os
os.environ["FIG_DIR"] = "/teamspace/studios/this_studio/pyprobml/notebooks/figures"
os.environ["DUAL_SAVE"] = "1" # both pdf and png
```
This is used by the [savefig](https://github.com/probml/probml-utils/blob/main/probml_utils/plotting.py#L78) function
to store pdf files.
Expand All @@ -80,7 +84,7 @@ to store pdf files.

When you want more power or control than colab gives you,
I recommend you use
https://lightning.ai/studios,
https://lightning.ai/docs/overview/studios,
which makes it very easy to develop using VScode, running on a VM accessed from your web browser;
you can then launch on one or more GPUs when needed with a single button click.
Alternatively, if you are a power user, you can try Google Cloud Platform, which supports GPUs and TPUs;
Expand Down

0 comments on commit cc2856e

Please sign in to comment.