pytorch2keras
pytorch2keras copied to clipboard
PyTorch to Keras model convertor
explicitly set the size to match the input instead of using -1, so that tensorflowjs won't complain about shape mismatch [None, actual_size]
Hello, thank you very much for your work. When I installed the specified version 0.1.15, it always showed that I could not find the version. How should I solve it?...
Thanx for your pytorch2keras. I dont know, maybe its not about convertation problem but maybe you have some advices to me. I did according to the example, like: input_np =...
I followed the steps mentioned in the repo to convert pytorch model to a keras model. the converted model actually have the same architecture but when I use predict from...
I am trying to convert a Pytorch model to Keras using the `Pytorch2Keras` library. I'm doing this on a pre-trained colorization model [here][1]. Just to see if my model and...
Hi. When I use codes as follow to convert my pytorch model to keras and set change_ordering=True, net = load_model(model, pthfile) net.eval() # Make dummy variables (and checking if the...
**Describe the bug** **I get this error:** Traceback (most recent call last): File "torch2keras.py", line 83, in transforms_2() File "torch2keras.py", line 76, in transforms_2 k_model = pytorch_to_keras(model.module, input_var, (3, 448,...
**Describe the bug** I successfully convert my CNN pytorch model to a keras model, and want to predict an input for testing it, but this exception occurs. My CPU is...
Hi! Thanks for implementing this necessary conversion 👍 I am stuck with error 'AttributeError: Can't gather from tf tensor.' when I'm trying to export my PyTorch model to Keras. 'k_model...