-
Notifications
You must be signed in to change notification settings - Fork 61
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
error split() takes at least 3 arguments (2 given) #1
Comments
Replace "your_dataset_path" to your downloaded dataset path. For example "/tmp/cuhk03". |
thanks , I solved |
I added test function. Refer to the README. |
thanks , |
I make True/False pair from dataset repeatedly. Refer the 'read_data' function in 'cuhk03_dataset.py'. |
Does not check the image name when running the run.py ? can it train own data?how to do? |
Maybe false prediction. Accuracy is not 100% :) I used CUHK03 dataset. It is composed of mat files. |
I have some questions?
3.in the run.py line 84 and line85 reshape = tf.reshape(concat, [shape[2], shape[3], shape[0], shape[1], 5, 5]) g = tf.transpose(reshape, [2, 3, 0, 1, 4, 5]) 4.do yo have any idea for the thing ? and if I train the picture that the WIDTH is longer than HEIGHT thank you very much |
@thomaspark-pkj |
@thomaspark-pkj |
@sde123 hello, |
My code: it came up with this error: I am doing it in trinket and wondered how to fix it |
I run the command
"python run.py --data_dir=your_dataset_path" or
"python run.py --mode=val --data_dir=your_dataset_path"
and have this error
Traceback (most recent call last):
File "run.py", line 183, in
tf.app.run()
File "/home/EN/person_search/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "run.py", line 121, in main
images1, images2 = preprocess(images, is_train)
File "run.py", line 48, in preprocess
return tf.cond(is_train, train, val)
File "/home/EN/person_search/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1776, in cond
orig_res, res_t = context_t.BuildCondBranch(fn1)
File "/home/EN/person_search/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1677, in BuildCondBranch
r = fn()
File "run.py", line 19, in train
split = tf.split(images, [1, 1])
TypeError: split() takes at least 3 arguments (2 given)
The text was updated successfully, but these errors were encountered: