Martin Han

Results 45 comments of Martin Han

Let me see whether I can support that op. Can you attach your model h5df here? For mean and norm, it should be 128 and 1/127.5

You can check the code, we do transpose on weight itself directly.

> Thanks for your help.. > > This is the model: [Keras model](https://nebuia.us-nyc1.upcloudobjects.com/app/fingers.h5) > > I already train with same configuration for MobileNetv2, > > tf.keras.applications.MobileNetV2(..) and with this version,...

你的pb我看了一下,没有不支持的op,你这个h5 netron都打不开,一般来说肯定是转换出问题了。 我明天帮你转一下试试看吧,tf这个一堆模型转换的问题是真的头疼= =

This does not working with hex, I might gonna to add it (and check file name suffix)later hmmm... I dont have older CH55x on my hand :( , so if...

Thanks for the issue. I don't currently have CH559 by my hand. I will try to get a device and take a try.

As you mentioned, as for thie tool. ``` Failed to get device, please check your libusb installation. ``` Can you add some print here to know where it is exited?...

Hi, thanks for your additional information! Can you try just remove the ```python3 dev.set_configuration() ``` line, and see will it work? If that still make it error, can you try...

The error is caused by ch55x does not respond correctly during writing flash. Can you flash it with the official WCH tool?

Which OS you are using? Can you try just remove the set config section and see will it work? ```python3 try: dev.set_configuration() except usb.core.USBError: return (None, 'USB_ERROR_CANNOT_SET_CONFIG') ```