Build Fate NN Model In pytorch Style #4371
Unanswered
zhangyimeng960916
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the pipeline programming mode,I tried to build NN model based on mnist dataset, but it failed:
error message:
File "pipeline_homo_nn_mnist.py", line 116, in
main()
File "pipeline_homo_nn_mnist.py", line 85, in main
homo_nn_0.add(layer_0)
File "/opt/app-root/lib/python3.6/site-packages/fate_client-0.1-py3.6.egg/pipeline/component/homo_nn.py", line 58, in add
self._model.add(layer)
File "/opt/app-root/lib/python3.6/site-packages/fate_client-0.1-py3.6.egg/pipeline/component/nn/models/sequantial.py", line 37, in add
self._add_layer(layer, layer_type)
File "/opt/app-root/lib/python3.6/site-packages/fate_client-0.1-py3.6.egg/pipeline/component/nn/models/sequantial.py", line 45, in _add_layer
self._model.add(layer)
AttributeError: 'SequentialModel' object has no attribute 'add'
Beta Was this translation helpful? Give feedback.
All reactions