Papers › Learning to Paint With Model-based Deep Reinforcement Learning

Learning to Paint With Model-based Deep Reinforcement Learning

11 Mar 2019ICCV 2019 10arXiv:1903.04411archive 2025-07-28

Zhewei Huang, Wen Heng, Shuchang Zhou

We show how to teach machines to paint like human painters, who can use a small number of strokes to create fantastic paintings. By employing a neural renderer in model-based Deep Reinforcement Learning (DRL), our agents learn to determine the position and color of each stroke and make long-term plans to decompose texture-rich images into strokes. Experiments demonstrate that excellent visual effects can be achieved using hundreds of strokes. The training process does not require the experience of human painters or stroke tracking data. The code is available at https://github.com/hzwer/ICCV2019-LearningToPaint.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1903.04411")

Code

Syntology Ran 1 of 13 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 8 samples from 1 repository, 1 ran; community (archive-listed): 5 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hzwer/ICCV2019-LearningToPaint officialmentioned in papermentioned on GitHubpytorchMIT report
1jsingh/semantic-guidance mentioned on GitHubpytorch report
hzwer/LearningToPaint mentioned on GitHubpytorchMIT report
megvii-research/ICCV2019-LearningToPaint mentioned on GitHubpytorchMIT report
nikithamalgifb/LearningToPaint mentioned on GitHubpytorchMIT report
pschaldenbrand/ContentMaskedLoss mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
12unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 hzwer/ICCV2019-LearningToPaint/baseline_modelfree/DRL/actor.py official repository ran · our draft was wrong MIT (permissive) · 583f9780bdd00a45 · report
cal_trans hzwer/ICCV2019-LearningToPaint/baseline_modelfree/DRL/ddpg.py official repository unverified MIT (permissive) · 23eda8fca1ca7dfd · report
cfg hzwer/ICCV2019-LearningToPaint/baseline_modelfree/DRL/actor.py official repository unverified MIT (permissive) · 3e805cc6355e47d6 · report
cfg hzwer/ICCV2019-LearningToPaint/baseline_modelfree/DRL/critic.py official repository unverified MIT (permissive) · 824c6b3b443d148a · report
conv3x3 hzwer/ICCV2019-LearningToPaint/baseline_modelfree/DRL/critic.py official repository unverified MIT (permissive) · 33b1a9d94f4b985d · report
decode hzwer/ICCV2019-LearningToPaint/predict.py official repository unverified MIT (permissive) · 75be60121d55e4f0 · report
large2small hzwer/ICCV2019-LearningToPaint/predict.py official repository unverified MIT (permissive) · ebf21bcce2ab8654 · report
small2large hzwer/ICCV2019-LearningToPaint/predict.py official repository unverified MIT (permissive) · 0b361edd2c426c74 · report
calculate_fid pschaldenbrand/ContentMaskedLoss/fid.py community (archive-listed) unverified MIT (permissive) · c3ce44b77ba5ecb6 · report
calculate_fid_stats pschaldenbrand/ContentMaskedLoss/fid.py community (archive-listed) unverified MIT (permissive) · b013a38b7632fed9 · report
color_cluster pschaldenbrand/ContentMaskedLoss/paint.py community (archive-listed) unverified MIT (permissive) · b140ae839d810c71 · report
decode_multiple_renderers pschaldenbrand/ContentMaskedLoss/DRL/ddpg.py community (archive-listed) unverified MIT (permissive) · a1790a331c5a0e5d · report
load_images_from_path pschaldenbrand/ContentMaskedLoss/fid.py community (archive-listed) unverified MIT (permissive) · a442e7afd354a754 · report

Tasks

Deep Reinforcement LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections