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
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
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