https://github.com/isarandi/tensorflow-resnetv1.5-like-pytorch
Porting PyTorch's ResNetV1.5 weights to TensorFlow
https://github.com/isarandi/tensorflow-resnetv1.5-like-pytorch
Last synced: 3 months ago
JSON representation
Porting PyTorch's ResNetV1.5 weights to TensorFlow
- Host: GitHub
- URL: https://github.com/isarandi/tensorflow-resnetv1.5-like-pytorch
- Owner: isarandi
- License: mit
- Created: 2021-10-26T21:58:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T20:22:27.000Z (over 3 years ago)
- Last Synced: 2025-01-16T15:35:58.583Z (4 months ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Porting ResNetv1.5 from PyTorch to TensorFlow
"ResNetV1.5" is a slight modification of ResNetV1. In V1, the striding in the bottleneck blocks happens on the 1x1 conv before the 3x3, while in V1.5 the stride is on the 3x3 conv. When PyTorch talks about "ResNet" as such, they mean V1.5, while TensorFlow means V1.
Run `python convert_weights.py` to generate Keras-compatible HDF5 checkpoint files with the weights from the corresponding PyTorch checkpoints.