pse-ecn / pose-sensitive-embedding

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

TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string. #38

Closed ShleerQasim closed 1 year ago

ShleerQasim commented 3 years ago

Hello All, I am getting the below error while trying to run this command:

python3 trainer_preid.py --output=output --data=~/Desktop/pose-sensitive-embedding/datasets/market_dataset --dataset-name=market1501 --batch-size=16 --num-epochs=100 --network-name=resnet_v1_50 --initial-checkpoint=~/Desktop/pose-sensitive-embedding/check_point/resnet_v1_50.ckpt --checkpoint-exclude-scopes=resnet_v1_50/logits --trainable-scopes=resnet_v1_50/logits --no-evaluation

File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 626, in read_file "ReadFile", filename=filename, name=name) File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 550, in _apply_op_helper (prefix, dtypes.as_dtype(input_arg.type).name)) TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string.