zhenglab / FFDBackbone

10 stars 0 forks source link

I NEED HELP #2

Open Butter122 opened 2 days ago

Butter122 commented 2 days ago

i can't download the flie named"BEiT_v2'',when i got to your URL, it leads me to "BEiT-1k-Face-55w.tar"

ouc-liuyingjie commented 2 days ago

"BEiT-1k-Face-55w.tar" is a weight file pre-trained based on real faces. If you want to train a FFD model, please load this weight; "Final mainbranch. tar" is a weight file trained on the FF++. If you want to perform inference or reproduce paper scores, please load this weight.

Butter122 commented 2 days ago

我的代码会有这个报错:FileNotFoundError: [Errno 2] No such file or directory: 'Final-BEiT_v2.tar'

ouc-liuyingjie commented 2 days ago

请问你运行的哪个命令和文件会有这个报错?

Butter122 commented 2 days ago

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 --master_port 11023 train_dualbranch.py -c configs/DBBF.yaml 而且您貌似不小心把BEiT_v2'的下载链接放错了

ouc-liuyingjie commented 2 days ago

抱歉,是utils\ckpt_process.py存在问题,已经完成修改了,您可以重新下载该文件后再尝试,十分感谢

Butter122 commented 2 days ago

感谢您的回复,如果有问题我还会过来问您的

Butter122 commented 12 hours ago

您提供的环境安装指令貌似有很多问题,我运行后仍然提示缺少很多包

ouc-liuyingjie commented 12 hours ago

您好,requirements.txt中提供了运行推理时所需的关键依赖。 为了方便您进行训练,已经重新上传requirements.txt,包含所需的全部环境,感谢您的提问。

Butter122 commented 8 hours ago

AssertionError: MMCV==0.6.2 is used but incompatible. Please install mmcv>=2.0.0, <2.4.0. 好像这个包有点老了 而且还不能装新版本(装了会报错)

Butter122 commented 8 hours ago

AssertionError: MMCV==0.6.2 is used but incompatible. Please install mmcv>=2.0.0, <2.4.0. 好像这个包有点老了 而且还不能装新版本(装了会报错)

已经解决了

Butter122 commented 7 hours ago

PermissionError: [Errno 13] Permission denied: 'C:\Users\13058\Desktop\FFDBackbone-main\cfg.yaml' 缺少这个文件

ouc-liuyingjie commented 5 hours ago

请问您是否调用命令时,正确地在”-c”参数中将yaml文件的地址传入,看起来您的报错是因为调用了默认的yaml配置文件。