摘要: import cv2 # video = cv2.VideoCapture("rtsp://192.168.0.200:554/av0_0") video = cv2.VideoCapture("fire.mp4") # 获取视频帧数 frame_count = int(video.get(cv2. 阅读全文
posted @ 2023-12-13 23:42 碧水云天4 阅读(4) 评论(0) 推荐(0) 编辑
摘要: import torch # 查看版本 print(torch.__version__) # 查看GPU是否可用 print(torch.cuda.is_available()) # 查看GPU型号 if torch.cuda.is_available(): print(torch.cuda.get 阅读全文
posted @ 2023-12-13 23:40 碧水云天4 阅读(53) 评论(0) 推荐(0) 编辑