-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法正确load配置文件;Can't load config file correctly #26
Comments
如果换用自带的config文件: |
你好,我运行了以下命令,并未报错,可能是因为最后一个
下面这个配置文件只能训练时候使用,推理时候是会报错的。
|
感谢你的回复! |
看样子应该是模型的权重文件有问题。 |
你好,我根据readme提供的路径下载了APE-D模型与配置文件
运行脚本如下:
python demo/demo_lazy.py \ --config-file configs/LVISCOCOCOCOSTUFF_O365_OID_VGR_SA1B_REFCOCO_GQA_PhraseCut_Flickr30k/ape_deta/ape_deta_vitl_eva02_clip_vlf_lsj1024_cp_16x4_1080k.py \ --input "./inputs/imgs_0083_339B1005-33B9-4e3c-B4A8-2D7EC23720C4_raw.jpg" \ --output "./seg_results" \ --confidence-threshold 0.1 \ --text-prompt 'car' \ --with-box \ --with-mask \ --with-sseg \ --opts \ train.init_checkpoint="./checkpoints/APE-D/model_final.pth" \ model.model_language.cache_dir="" \ model.model_vision.select_box_nums_for_evaluation=500 \ model.model_vision.text_feature_bank_reset=True \ model.model_vision.backbone.net.xattn=False \ model.model_vision.transformer.encoder.pytorch_attn=True \ model.model_vision.transformer.decoder.pytorch_attn=True \
但获得了错误的结果,以为是config-file错误导致
The text was updated successfully, but these errors were encountered: