Skip to content

Commit cc2856e

Browse files
authored
Update README.md
1 parent 213e10b commit cc2856e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ Then install manually.
7070

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

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

0 commit comments

Comments
 (0)