mask_rcnn-visualize.py-api(1)

#导入路径
path = os.path.abspath("mask_rcnn_coco.h5")
print(path)

结果:

/home/paul/桌面/1/mask_rcnn_coco.h5
r = 9 // 2 # 取余
print(r)

r1 = 9 / 2 # 去模
print(r1)

结果:

4
4.5
#plt.figure(num=None, figsize=None, facecolor=None)
import matplotlib.pyplot as plt
figure = plt.figure(num="test",figsize=(4,3), facecolor="blue")
plt.show()

 结果:

猜你喜欢

转载自blog.csdn.net/weixin_42618420/article/details/84997360