-
Notifications
You must be signed in to change notification settings - Fork 656
new style transfer error (just recently started happening) #283
Comments
I'm having exactly the same problem. AND if you get the dimensions of content and style the same e.g., 1000 x 1000 px this error during the optimization: |
found a temporary fix: here is my working example below based off my repository(https://github.com/400lbhacker/beast-pytorch-tensorflow-neural-style-transfer) |
I have resolved this issue, I can patch any lucid project one is working on if you email me: [email protected], I cannot post to github due to the nature of the way colab is begging to default on py3 but i have a private repository that is pre configured that i can share as an example. I will update my beast neural style repository (based off lucid) with this snippet of info soon. have wonderful day ^-^ |
Thanks mate! Works perfect. |
public fix for everyone to use is here I apologize for lateness: |
style transfer example requires content and style photo to be both same sized (800x,533) for example, and it requires they are in jpeg format with no transperency layer. following these rules, just recently the style transfer example no longe works. this is the error im receiving
Dimension 0 in both shapes must be equal, but are 800 and 533. Shapes are [800,533,3] and [533,800,3].
From merging shape 0 with other shapes. for 'stack_1' (op: 'Pack') with input shapes: [800,533,3], [533,800,3], [533,800,3].
The text was updated successfully, but these errors were encountered: