google-research / receptive_field

Compute receptive fields of your favorite convnets
Apache License 2.0
432 stars 54 forks source link

Suppor for MobilenetV2 #11

Closed guillemdelgado closed 3 years ago

guillemdelgado commented 3 years ago

Depthwise convolutionals have a kernel name "depthwise_kernel", while the other Conv2d have "kernel", that was why it was not working. Also the weight layer read name was different for these convolution as well. Added that line in order to support MobilenetV2.

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.