'NoneType' object has no attribute 'vgg'

I now want to use “refinedet” for target detection, loading my own dataset, but the following problem occurred when using vgg16, the backbone network.

This happens because refinedet_net is None is your code? You want to check why this happens? Did you forgot a return statement maybe?

Thanks for your warning. I’ve found the problem and I’m trying to solve it.