Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while training #15

Open
satishkolla opened this issue Feb 2, 2020 · 0 comments
Open

error while training #15

satishkolla opened this issue Feb 2, 2020 · 0 comments

Comments

@satishkolla
Copy link


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant