Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

2d neural style transfer is completely broken #296

Open
400lbhacker opened this issue Nov 13, 2021 · 0 comments
Open

2d neural style transfer is completely broken #296

400lbhacker opened this issue Nov 13, 2021 · 0 comments

Comments

@400lbhacker
Copy link

below is an error that many others have experienced.. I was able to mitigate the error by using a python2.7 enviroment. But google colab lately has gotten rid of py27 enviroment and its not even available in the change runtype/notebook settings options anymore to be able to choose python2/3 env: the only thing that menu has now is to specify hardware acceleration method..

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].


I have tried removing some portions of code... created simple numeric variables of the image.size function (which produces the 800,533,3 tuple) and modified tf.stack to express it, and it runs longer but does eventually fail saying hat it is not receiving an expected int32/float value

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant