You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error Traceback (most recent call last)
E:\run_market.py in ()
206
207 if name == 'main':
--> 208 tf.app.run()
E:\Users\satish\Anaconda3\envs\reid\lib\site-packages\tensorflow\python\platform\app.py in run(main, argv)
123 # Call the main function, passing through any arguments
124 # to the final program.
--> 125 _sys.exit(main(argv))
126
E:\run_market.py in main(argv)
154 for i in range(step, FLAGS.max_steps + 1):
155 batch_images,batch_labels=market1501_dataset.read_data(FLAGS.data_dir,'bounding_box_train',train_ids,
--> 156 IMAGE_WIDTH,IMAGE_HEIGHT,FLAGS.batch_size)
157 feed_dict = {learning_rate: lr, images: batch_images,
158 labels: batch_labels, is_train: True}
E:\market1501_dataset.py in read_data(path, set, ids, image_width, image_height, batch_size)
52 for p in pair:
53 image = cv2.imread(p)
---> 54 image = cv2.resize(image, (image_width, image_height))
55 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
56 images.append(image)
error: OpenCV(3.4.1) C:\Miniconda3\conda-bld\opencv-suite_1533128839831\work\modules\imgproc\src\resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function cv::resize
The text was updated successfully, but these errors were encountered:
error Traceback (most recent call last)
E:\run_market.py in ()
206
207 if name == 'main':
--> 208 tf.app.run()
E:\Users\satish\Anaconda3\envs\reid\lib\site-packages\tensorflow\python\platform\app.py in run(main, argv)
123 # Call the main function, passing through any arguments
124 # to the final program.
--> 125 _sys.exit(main(argv))
126
E:\run_market.py in main(argv)
154 for i in range(step, FLAGS.max_steps + 1):
155 batch_images,batch_labels=market1501_dataset.read_data(FLAGS.data_dir,'bounding_box_train',train_ids,
--> 156 IMAGE_WIDTH,IMAGE_HEIGHT,FLAGS.batch_size)
157 feed_dict = {learning_rate: lr, images: batch_images,
158 labels: batch_labels, is_train: True}
E:\market1501_dataset.py in read_data(path, set, ids, image_width, image_height, batch_size)
52 for p in pair:
53 image = cv2.imread(p)
---> 54 image = cv2.resize(image, (image_width, image_height))
55 image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
56 images.append(image)
error: OpenCV(3.4.1) C:\Miniconda3\conda-bld\opencv-suite_1533128839831\work\modules\imgproc\src\resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function cv::resize
The text was updated successfully, but these errors were encountered: