This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
MxNet C++ Code does not work properly but Python Code does #20585
Unanswered
m1ndbr34ker
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
-
Hello everyone
I have created and trained a GAN with 3D Convolutions in Python with MxNet Gluon and exported the trained parameters and the network. When I use a python script to load the network and parameters and forward data through the generator it works perfectly fine. However, I have C++ code that is supposed to do the same but for some reason the output from there is pretty much useless. The Generator should output 32x3 floats between 0 and 1 but from the C++ code it only generates zeroes and ones.
My Python code is the following:
This is the C++ code:
And the model loader:
Any help is greatly appreciated thank you.
Beta Was this translation helpful? Give feedback.
All reactions