捋一捋pytorch官方的FasterRCNN代码

原文:https://zhuanlan.zhihu.com/p/145842317
参考:http://t.csdn.cn/idjzU

在pycharm中查看版本和源码位置

##发现该版本有的函数没必要仔细看,重点关注怎么实现的

import torchvision

print(torchvision.__version__)
# 0.12.0
print(torchvision.__path__)
# ['D:\\anaconda\\lib\\site-packages\\torchvision']

代码结构

在这里插入图片描述
作为 torchvision 中目标检测基类,GeneralizedRCNN

猜你喜欢

转载自blog.csdn.net/qq_45583898/article/details/125858831
今日推荐