Skip to content

Commit

Permalink
dlmbl 2023 archive (#44)
Browse files Browse the repository at this point in the history
* final version of dlmbl 2023 demo

* fix typos
  • Loading branch information
mattersoflight authored Aug 31, 2023
1 parent b4ec13c commit 3f46b3b
Show file tree
Hide file tree
Showing 7 changed files with 497 additions and 1,955 deletions.
48 changes: 48 additions & 0 deletions examples/demo_dlmbl/README.md
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
```
41 changes: 0 additions & 41 deletions examples/demo_dlmbl/convert-solution.py

This file was deleted.

Loading

0 comments on commit 3f46b3b

Please sign in to comment.