pse-ecn / pose-sensitive-embedding

Pose Sensitive Embedding for Person Re-Identification (PSE)
112 stars 36 forks source link

invalid argument : --initial-checkpoint #28

Closed ravi7248 closed 4 years ago

ravi7248 commented 4 years ago

I am training your project on Restnet-50 Baseline on Market1501 and I have replaced <> all values with directories but it's giving error as invalid argument. First, I made a directory named output and gave path in --output=<> Second, I made a directory named checkpoint and downloaded inception -v4 and ResNet V1 50 checkpoints and tried giving path in --inital-checkpoint but still it's giving error as invalid argument --initial checkpoint. Can you tell I am following correct steps or not and if not then can you tell me what will the correct step to run it. I am attaching screenshot as well. Screenshot (17)

ssarfraz commented 4 years ago

check your spelling of initial-checkpoint (you have inital-checkpoint -- missing an i)

ravi7248 commented 4 years ago

check your spelling of initial-checkpoint (you have inital-checkpoint -- missing an i)

sorry for such a stupid mistake.

ravi7248 commented 4 years ago

Actually I am trying to your project second and I am facing same issue both time and got stuck and I am not able to figure where is probelm.

python trainer_preid.py --output=c:\Users\user_name\Documents\pose-sensitive-embedding-master\output --data=c:\Users\user_name\Documents\pose-sensitive-embedding-master\datasets\Market-1501 --dataset-name=market1501 --batch-size=16 --num-epochs=100 --network-name=resnet_v1_50 --initial-checkpoint=c:\Users\user_name\Documents\pose-sensitive-embedding-master\checkpoint --checkpoint-exclude-scopes=resnet_v1_50/logits --trainable-scopes=resnet_v1_50/logits --no-evaluation.

TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string. Screenshot (18)