Zhimin-C / Bridge3D

16 stars 0 forks source link

python tag2text_SAM.py #3

Closed zjw102 closed 2 months ago

zjw102 commented 3 months ago

Hello author, when I python tag2text_SAM.py, it shows missing parameters.

1718604704892

So I'm looking at someone else's way and running it this way: python tag2text_SAM.py configs/Detic_LI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.py "/z_home/zjw/datasets/detic_centernet2_swin-b_fpn_4x_lvis-coco-in21k_20230120-0d301978.pth" .But:ModuleNotFoundError: No module named 'projects.Detic'

So I went and downloaded someone else's Detic file again and ran it this way:python tag2text_SAM.py "/z_home/zjw/projects/Bridge3D-main/Preprocess/Detic/configs/detic_centernet2_swin-b_fpn_4x_lvis-coco-in21k.py" "/z_home/zjw/datasets/detic_centernet2_swin-b_fpn_4x_lvis-coco-in21k_20230120-0d301978.pth" but: requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/bert-base-uncased/tree/main?recursive=True&expand=False (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f58821ab130>: Failed to establish a new connection: [Errno 110] Connection timed out'))"), '(Request ID: 9c7584be-08d5-4839-b1a6-e61fb3d093a5)')

so How the hell am I going to run tag2text_SAM.py

Zhimin-C commented 3 months ago

I have updated the readme in the preprocess. Now you can have a try.

zjw102 commented 2 months ago

Thank you for your reply, the issue has been solved!