pytorch2keras icon indicating copy to clipboard operation
pytorch2keras copied to clipboard

PyTorch to Keras model convertor

Results 65 pytorch2keras issues
Sort by recently updated
recently updated
newest added

I stumbled across this repo to convert a PyTorch model to tflite without introducing transpose layers everywhere. After several attempts messing around with TensorFlow, Keras, and PyTorch version combinations I...

enhancement

**Describe the bug** A clear and concise description of what the bug is. Hi there, I'm using your pytorch2keras and facing the following error. Thanks for your support `DEBUG:onnx2keras:###### DEBUG:onnx2keras:......

bug

**Describe the bug** Any upsampling test fails: here I tested only upsampling_nearest since I have read in many places that onnx does not work with upsampling_bilinear. I have tested using...

bug

**Describe the bug** I can't convert mobilenet V2 pytorch official model. **To Reproduce** ``` from mobilenet_helper import * from torch.autograd import Variable from pytorch2keras.converter import pytorch_to_keras from torchvision.models import mobilenet_v2...

bug
confirmed

**Describe the bug** I cannot import the `pytorch2keras` package. I keep getting this error on import: ``` $ python -c "import pytorch2keras" [libprotobuf ERROR google/protobuf/descriptor_database.cc:394] Invalid file descriptor data passed...

bug

I used onnx2keras tag v0.0.5, tensorflow-gpu 1.14.0 cuda 10.0.when i run ,i got the error 'tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version'.If i used...

bug

**Describe the bug** how to set opset_version=11? `torch.onnx.export(model, dummy_input, "test.onnx", verbose=True, opset_version=11)` @tehsenaus

bug

**Feature request** tensorflow.python.framework.errors_impl.InvalidArgumentError: cannot compute Con catV2 as input #1(zero-based) was expected to be a int64 tensor but is a int32 t ensor [Op:ConcatV2] name: concat

enhancement

**Describe the bug** pytorch version of craft to keras model: WARNING:onnx2keras:upsample:!!! EXPERIMENTAL SUPPORT (upsample) !!! Traceback (most recent call last): File "test.py", line 190, in k_model = converter.pytorch_to_keras(net, input_var, [(3,...

bug

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** __Snippet of your code__ **Expected behavior** A clear and concise description of what you expected...

bug