webdnn icon indicating copy to clipboard operation
webdnn copied to clipboard

NotImplementedError: [KerasConverter] keras.layers.UpSampling2D is not supported

Open gmalivenko opened this issue 6 years ago • 0 comments

Hello! There is a one more issue with converter:

Traceback (most recent call last):
  File "convert_keras.py", line 114, in <module>
    main()
  File "convert_keras.py", line 64, in main
    graph = converter.convert(model)
  File "/home/nero/webdnn/src/graph_transpiler/webdnn/frontend/keras/converter.py", line 115, in convert
    return self._convert_fallback(model)
  File "/home/nero/webdnn/src/graph_transpiler/webdnn/frontend/keras/converter.py", line 129, in _convert_fallback
    self._convert_operator(node.outbound_layer)
  File "/home/nero/webdnn/src/graph_transpiler/webdnn/frontend/keras/converter.py", line 162, in _convert_operator
    return super(KerasConverter, self)._convert_operator(k_op)
  File "/home/nero/webdnn/src/graph_transpiler/webdnn/frontend/converter.py", line 117, in _convert_operator
    self._handler_map[self.__class__.__name__][operator_key](self, operator)
  File "/home/nero/webdnn/src/graph_transpiler/webdnn/frontend/keras/layers/convolutional.py", line 207, in _convert_up_sampling2d
    raise NotImplementedError('[KerasConverter] keras.layers.UpSampling2D is not supported')
NotImplementedError: [KerasConverter] keras.layers.UpSampling2D is not supported

will you add the UpSampling2D in future?

gmalivenko avatar Mar 03 '18 16:03 gmalivenko