ys7yoo / deeppose_old

DeepPose implementation on TensorFlow. Original Paper http://arxiv.org/abs/1312.4659
Other
0 stars 4 forks source link

Assertion error after flipLR #12

Closed ys7yoo closed 6 years ago

ys7yoo commented 6 years ago

met_n10_ub_flip_alexnet_imagenet_gpu1

    data = _fetch_dataset[index]
  File "/home/yyoo/tf8/lib/python3.5/site-packages/chainer/dataset/dataset_mixin.py", line 67, in __getitem__
    return self.get_example(index)
  File "/home/yyoo/src/deeppose/scripts/dataset.py", line 412, in get_example
    shift=shift)
  File "/home/yyoo/src/deeppose/scripts/dataset.py", line 344, in apply_cropping
    check_bounds(joints, x, y, x + w, y + h)
  File "/home/yyoo/src/deeppose/scripts/dataset.py", line 459, in check_bounds
    'max={} > {}'.format(joints[:, 0].max(), x + w - exclude_upper_bound)
AssertionError: max=334.0 > 333
ys7yoo commented 6 years ago

(x,y) should be in range [0 W) and [0, H)

restarted in met_n10_ub_flip_alexnet_imagenet_gpu3