Verg-Avesta / CounTR

CounTR: Transformer-based Generalised Visual Counting
https://verg-avesta.github.io/CounTR_Webpage/
MIT License
92 stars 9 forks source link

AttributeError: 'PosixPath' object has no attribute 'im_dir' #41

Open changcongxun opened 6 months ago

changcongxun commented 6 months ago

image python-version 3.9.18

changcongxun commented 6 months ago

image python-version 3.9.18

An error occurred when I executed the following line of code CUDA_VISIBLE_DEVICES=0 python FSC_pretrain.py --epochs 500 --warmup_epochs 10 --blr 1.5e-4 --weight_decay 0.05

MelodyyyYin commented 4 months ago

I encountered the same problem, how did you solve this?