-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* final version of dlmbl 2023 demo * fix typos
- Loading branch information
1 parent
b4ec13c
commit 3f46b3b
Showing
7 changed files
with
497 additions
and
1,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Exercise 4: Image translation | ||
|
||
This demo script was developed for the DL@MBL 2023 course by Ziwen Liu and Shalin Mehta, with many inputs and bugfixes by [Morgan Schwartz](https://github.com/msschwartz21), [Caroline Malin-Mayor](https://github.com/cmalinmayor), and [Peter Park](https://github.com/peterhpark). | ||
|
||
|
||
|
||
|
||
## Setup | ||
|
||
Make sure that you are inside of the `image_translation` folder by using the `cd` command to change directories if needed. | ||
|
||
Make sure that you can use mamba to switch environments. | ||
|
||
```bash | ||
mamba init | ||
``` | ||
|
||
**Close your shell, and login again.** | ||
|
||
Run the setup script to create the environment for this exercise and download the dataset. | ||
```bash | ||
sh setup.sh | ||
``` | ||
Activate your environment | ||
```bash | ||
mamba activate 04_image_translation | ||
``` | ||
|
||
## Use vscode | ||
|
||
Install vscode, install jupyter extension inside vscode, and setup [cell mode](https://code.visualstudio.com/docs/python/jupyter-support-py). Open [solution.py](solution.py) and run the script interactively. | ||
|
||
## Use Jupyter Notebook | ||
|
||
The matching exercise and solution notebooks can be found [here](https://github.com/dlmbl/image_translation/tree/28e0e515b4a8ad3f392a69c8341e105f730d204f) on the course repository. | ||
|
||
Launch a jupyter environment | ||
|
||
``` | ||
jupyter notebook | ||
``` | ||
|
||
...and continue with the instructions in the notebook. | ||
|
||
If 04_image_translation is not available as a kernel in jupyter, run | ||
``` | ||
python -m ipykernel install --user --name=04_image_translation | ||
``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.