orml icon indicating copy to clipboard operation
orml copied to clipboard

[orml-style-transfer] stylization factor

Open ricardomatias opened this issue 4 years ago • 3 comments

Would it be possible to define the w factor shown in here?

ricardomatias avatar Nov 20 '20 18:11 ricardomatias

That should be possible, I have to take the described steps to get the identity transform from the transfer network. I will have a look at adding code for that.

Thanks for having a look at ORML btw, I happily take any feedback on the library.

edwinRNDR avatar Nov 21 '20 07:11 edwinRNDR

Great :+1:

Any specific feedback you're looking for? Performance? Ease of use?

ricardomatias avatar Nov 21 '20 13:11 ricardomatias

Ease of use is the most important issue at this point.

I checked the original code, what is done to get the identity transform is to input the target image into the style extractor network. This will result in a FloatArray. You can interpolate between any style vectors and use it as a style. Maybe some tools for blending the style FloatArrays are helpful.

edwinRNDR avatar Nov 23 '20 20:11 edwinRNDR