google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
351 stars 145 forks source link

Siamese network support #3

Closed Cganzorig closed 3 years ago

Cganzorig commented 3 years ago

The topic is not about an issue with pycoral. Just would like to ask if there is any way to support seamese network on edge TPU. Any suggestions will be appreciated.

Namburger commented 3 years ago

@Cganzorig I'm not so sure about Siamese, since from what I can tell it will requires 2 inputs at the same time, which the edgetpu wouldn't be able to support. @Naveen-Dodda do you know much about this network?

Naveen-Dodda commented 3 years ago

@Cganzorig officially we haven't tested a seamese network on edgetpu. But we do support multiple input/output tensors. As long as tensors fit in on chip memory and all the ops are supported by compiler. I do n't see any problem.

I recommend you to give a try : first step is test a Int8 quantised model.

Hope this help

Naveen-Dodda commented 3 years ago

@Cganzorig

Are you still working on seamese netwrok ?