-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,383 additions
and
742 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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 @@ | ||
# Artificial Artwork | ||
|
||
## Quick-start | ||
|
||
Run a demo NST, on sample `Content` and `Style` Images: | ||
|
||
```shell | ||
mkdir art | ||
export NST_HOST_MOUNT="$PWD/art" | ||
|
||
# Run containerized NST, and exit container upon finish | ||
docker-compose up | ||
``` | ||
|
||
Check out your **Generated Image**! | ||
Artificial Artwork: **art/canoe_water_w300-h225.jpg+blue-red_w300-h225.jpg-100.png** | ||
|
||
```shell | ||
xdg-open art/canoe_water_w300-h225.jpg+blue-red_w300-h225.jpg-100.png | ||
``` | ||
|
||
## Usage | ||
|
||
Run the `nst` CLI with the `--help` option to see the available options. | ||
|
||
```shell | ||
docker run boromir674/neural-style-transfer:1.0.2 --help | ||
``` | ||
|
||
## Development | ||
|
||
|
||
### Installation from `pypi` | ||
|
||
```shell | ||
pip install artificial-artwork | ||
``` | ||
|
||
Only python3.8 wheel is included atm. | ||
|
||
### Installation from `source`: | ||
|
||
```shell | ||
git clone https://github.com/boromir674/neural-style-transfer.git | ||
pip install ./neural-style-transfer | ||
``` | ||
|
||
The Neural Style Transfer - CLI heavely depends on Tensorflow (tf) and therefore it is crucial that tf is installed correctly in your Python environment. |
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,24 @@ | ||
site_name: Artificial Artwork | ||
repo_name: neural-style-transfer | ||
plugins: | ||
- search | ||
- mermaid2 | ||
- mkdocstrings | ||
- gen-files: | ||
scripts: | ||
- scripts/gen_api_refs_pages.py | ||
- literate-nav: | ||
nav_file: SUMMARY.md | ||
- section-index | ||
|
||
markdown_extensions: | ||
- mkdocs-click | ||
- pymdownx.highlight | ||
|
||
nav: | ||
- Home: | ||
- "Quick Start": index.md | ||
- "CLI": cli.md | ||
- Developer: | ||
- "Docker": build-process_DAG.md | ||
- Code Reference: reference/ |
Oops, something went wrong.