CycleGAN onnx file import error
I trained a face conversion CycleGAN and exported it as an onnx file.
But when I import the .onnx file, It saysResource import for /Users/youjin/Downloads/latest_net_G (1).onnx failed: The ONNX network's output '625' dimensions should be non-negative
I don't see why it says the '625' dimension is considered negative.
I am trying to figure out what is going on, but I still wanted to ask for any hints.
I set the output dimension using dynamic_axis
, but it still gives me the same error message.
Answers
-
It's difficult to say what might be causing this error without more information about your CycleGAN model and how you are attempting to import it into Lens Studio. One thing you might try is to make sure that the output dimensions of your model are correctly set to be non-negative. You could also try looking at the ONNX file itself to see if there are any issues with the way the model is structured. If you're still having trouble, it might be helpful to share more details about your model and the steps you are taking to import it into Lens Studio.
0