Open kekxv opened 2 years ago
Can you print the unsupported ones? (能否将不支持的打印出来?)
Reading and parsing keras h5df file... Start graph optimizing pass... Removing unused nodes... Removing squeeze reshape after pooling... Refreshing graph... Converting keras graph to ncnn graph... [ERROR] Operator Sequential not support. ========================================= {'name': 'sequential', 'layers': [{'class_name': 'InputLayer', 'config': {'batch_input_shape': [None, 180, 180, 3], 'dtype': 'float32', 'sparse': False, 'ragged': False, 'name': 'random_flip_input'}}, {'class_name': 'RandomFlip', 'config': {'name': 'random_flip', 'trainable': True, 'batch_input_shape': [None, 180, 180, 3], 'dtype': 'float32', 'mode': 'horizontal', 'seed': None}}, {'class_name': 'RandomRotation', 'config': {'name': 'random_rotation', 'trainable': True, 'dtype': 'float32', 'factor': 0.1, 'fill_mode': 'reflect', 'fill_value': 0.0, 'interpolation': 'bilinear', 'seed': None}}, {'class_name': 'RandomZoom', 'config': {'name': 'random_zoom', 'trainable': True, 'dtype': 'float32', 'height_factor': 0.1, 'width_factor': None, 'fill_mode': 'reflect', 'fill_value': 0.0, 'interpolation': 'bilinear', 'seed': None}}]} ========================================= Failed to convert at /opt/homebrew/lib/python3.9/site-packages/keras2ncnn/keras_converter.py:1433 parse_keras_graph()
Can you print the unsupported ones? (能否将不支持的打印出来?)