{"id":15634228,"url":"https://github.com/reiinakano/neural-painters-pytorch","last_synced_at":"2025-04-15T01:05:08.566Z","repository":{"id":113779716,"uuid":"222107359","full_name":"reiinakano/neural-painters-pytorch","owner":"reiinakano","description":"PyTorch library for \"Neural Painters: A learned differentiable constraint for generating brushstroke paintings\"","archived":false,"fork":false,"pushed_at":"2019-12-12T22:30:24.000Z","size":11215,"stargazers_count":141,"open_issues_count":0,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-12T00:01:51.376Z","etag":null,"topics":["deep-learning","neural-painters","pytorch","style-transfer"],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/1904.08410","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reiinakano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-16T13:59:41.000Z","updated_at":"2025-02-03T07:11:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"7374fa87-853b-401c-90a2-ad85a5f48ae5","html_url":"https://github.com/reiinakano/neural-painters-pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiinakano%2Fneural-painters-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiinakano%2Fneural-painters-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiinakano%2Fneural-painters-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiinakano%2Fneural-painters-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiinakano","download_url":"https://codeload.github.com/reiinakano/neural-painters-pytorch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034282,"owners_count":20712854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","neural-painters","pytorch","style-transfer"],"created_at":"2024-10-03T10:53:03.973Z","updated_at":"2025-03-30T10:30:58.196Z","avatar_url":"https://github.com/reiinakano.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The author's PyTorch implementation of Neural Painters\n\n![banner](readme_img/banner.jpg)\n\nNeural Painters: A learned differentiable constraint for generating brushstroke paintings\n\nhttps://arxiv.org/abs/1904.08410\n\n## Dependencies\n\nDependencies are listed in [`environment.yaml`](https://github.com/reiinakano/neural-painters-pytorch/tree/master/environment.yaml) but the notable ones are:\n\n* PyTorch 1.3+\n* kornia\n* gdown\n* (Optional) MyPaint - installing this is a bit of a pain but you can view examples of how to set up the exact versions in the notebooks [`train_vae_painter.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/train_vae_painter.ipynb) and [`train_gan_painter.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/train_gan_painter.ipynb).\n\n## Notebooks\n\nThe best way to figure out how to use this code is to play around with the provided Colaboratory notebooks. We provide pre-trained neural painters.\n\nThere are runnable notebooks for the paper in the [`notebooks/`](https://github.com/reiinakano/neural-painters-pytorch/tree/master/notebooks) folder.\n\nSince most people will probably only be interested in certain parts of the paper, we have designed them so you will be able to run each part as standalone notebooks. For example, we have provided pre-trained neural painters so you can run the style transfer notebook without having to train your own neural painter.\n\n* [`train_vae_painter.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/train_vae_painter.ipynb) and [`train_gan_painter.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/train_gan_painter.ipynb) - These notebooks contain code to train VAE and GAN neural painters, respectively.\n\n![vae](readme_img/vae_neural_painter_example.jpg)\n![gan](readme_img/gan_neural_painter_example.jpg)\n\n* [`visualizing_imagenet.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/visualizing_imagenet.ipynb) - Contains code for the \"Visualizing ImageNet Classes\" subsection of the paper. Requires a neural painter. We provide pre-trained neural painters if you don't want to train your own.\n\n![visualize_imagenet](readme_img/mix.jpg)\n\n* [`intrinsic_style_transfer.ipynb`](https://colab.research.google.com/github/reiinakano/neural-painters-pytorch/blob/master/notebooks/intrinsic_style_transfer.ipynb) - Contains code for the \"Intrinsic Style Transfer\" subsection of the paper. Requires a neural painter. We provide pre-trained neural painters if you don't want to train your own.\n\n![intrinsic](readme_img/styletransferstaticdiagram.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiinakano%2Fneural-painters-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiinakano%2Fneural-painters-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiinakano%2Fneural-painters-pytorch/lists"}