Traceback (most recent call last):


 "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 510, in _apply_op_helper

preferred_dtype=default_dtype)


 "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\framework\ops.py", line 1036, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\framework\constant_op.py", line 235, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\framework\constant_op.py", line 214, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 442, in make_tensor_proto

_GetDenseDimensions(values)))
ValueError: Argument must be a dense tensor: range(0, 3) - got shape [3], but wanted [].

Traceback (most recent call last):


 "validate_on_lfw.py", line 89, in <module>

main(parse_arguments(sys.argv[1:]))


 "validate_on_lfw.py", line 65, in main

images_placeholder, phase_train_placeholder, embeddings, nrof_folds=args.lfw_nrof_folds)


 "/root/facenet_old/src/lfw.py", line 58, in validate

np.asarray(actual_issame), seed, nrof_folds=nrof_folds)


 "/root/facenet_old/src/facenet.py", line 504, in calculate_roc

folds = KFold(n=nrof_pairs, n_folds=nrof_folds, shuffle=True, random_state=seed)


 "/usr/local/lib/python2.7/dist-packages/sklearn/cross_validation.py", line 326, in __init__

super(KFold, self).__init__(n, n_folds, shuffle, random_state)


 "/usr/local/lib/python2.7/dist-packages/sklearn/cross_validation.py", line 257, in __init__

" than the number of samples: {1}.").format(n_folds, n))
ValueError: Cannot have number of folds n_folds=10 greater than the number of samples: 0.
