Closed ProGamerGov closed 7 years ago
I totally agree on tiling. I think it makes sense to re-platform the whole thing based on @crowsonkb's code!
Given that multi-gpu setting in the code now allows larger images to be produced, I have no immediate intention of introducing tiling. Happy to take a PR though!
In order to produce larger outputs, a technique was proposed by @crowsonkb, where tiling is performed by:
Memory usage is lowered as per the quote below:
I am not sure of how to apply this technique when using masks, but I believe it should still be doable.
Sources:
https://github.com/crowsonkb/style_transfer/issues/10
https://github.com/jcjohnson/neural-style/issues/329#issuecomment-250325904