Swift4TF icon indicating copy to clipboard operation
Swift4TF copied to clipboard

Error setting up VGG 16 Model

Open monadical opened this issue 5 years ago • 2 comments

When setting up VGG 16 model, specifically defining the structure, I get the following:

error: <Cell 7>:1:8: error: type 'VGG16' does not conform to protocol 'Layer' struct VGG16: Layer { ^

TensorFlow.Layer:2:20: note: protocol requires nested type 'Input'; do you want to add it? associatedtype Input : Differentiable ^

TensorFlow.Layer:3:20: note: protocol requires nested type 'Output'; do you want to add it? associatedtype Output : Differentiable ^

monadical avatar Jul 06 '19 12:07 monadical

This was in the DeepDream example

monadical avatar Jul 06 '19 12:07 monadical

This should fix it for transfer learning. Is the other notebook updated yet? Same fix should work there too.

rickwierenga avatar Jan 20 '20 13:01 rickwierenga