Tf-pose-estimation: Training bug

Created on 12 Sep 2018  路  6Comments  路  Source: ildoonet/tf-pose-estimation

Hi, thanks for this great code.

I get the following bug when trying to train the network:

cv2.error: OpenCV(3.4.1) /feedstock_root/build_artefacts/opencv_1520722599420/work/opencv-3.4.1/modules/imgproc/src/resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize

I am using coco2017 dataset.

Please help...

Thanks

Most helpful comment

@tomercohen11 @SidneyRey

I found out that
it is because common.py

line 120
def get_sample_images(w, h):

image file path can't find images

All 6 comments

maybe your imagedir is wrong

@tomercohen11 I got the same bug, did you solve it?
can any one help on this

@tomercohen11 I got it, I am using python2.7, and the result of the Integer division is the integer, may be get the value 0. so, need to modify the function pose_resize_shortestedge_fixed(), pose_resize_shortestedge_random(), and pose_resize_shortestedge()

@tomercohen11 @SidneyRey

I found out that
it is because common.py

line 120
def get_sample_images(w, h):

image file path can't find images

Change the location of the ../images file or change the way path references it

Hello, I am using coco2014, I also is met, the above problem after I solved the problem of the above, there is an error module 'tensorflow. Python. Training. Training' has no attribute 'cosine_decay, excuse me this how to solve, or need what to notice

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gen21kawa picture gen21kawa  路  5Comments

ssoumyajit picture ssoumyajit  路  3Comments

16534165 picture 16534165  路  3Comments

guofuzheng picture guofuzheng  路  6Comments

manoharthondapu picture manoharthondapu  路  4Comments