次にモデルの作成と認識実行です。 model=init_detector("configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py","/content/mask_rcnn_r50_fpn_1x_coco_20200205-d4b0c5d6.pth",device="cuda:0")result=inference_detector(model,"demo/demo.jpg")show_result_pyplot(model,"demo/demo.jpg",result,scor...
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting gitpython Downloading GitPython-3.1.29-py3-none-any.whl (182 kB) Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.10-py3-none-any.whl (62 kB) Collecting smmap<6,>=3.0.1...
5 image_path = next(iter(uploaded)) # 最初にアップロードされたファイル名を取得 6 frame = cv2.imread(image_path) 3 frames /usr/local/lib/python3.10/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec) 94 reply = _read_next_input_message() 95...