onnx2keras
onnx2keras copied to clipboard
Add Resize field; Fix Clip and Upscale2D layer
- Add
Resize
key to AVAILABLE_CONVERTERS asconvert_upsample
function - Add additional Clip logic in case if
min
andmax
params are contained in available layers, not innode.attributes
- Resize params are extracted from node.input[2], not from node.input[1]. By some reason, it didn't work with node.input[2] as it is empty. Looks like in new versions the position of resize params has changed