tylerhutcherson/synthetic-images

Getting a error while executing code

vikash1234567890 opened this issue · 0 comments

Making synthetic images.
Traceback (most recent call last):
File "/home/vk/synthetic-images/create.py", line 134, in
obj_h, obj_w, x_pos, y_pos = get_obj_positions(obj=obj_img, bkg=bkg_img, count=count_per_size)
File "/home/vk/synthetic-images/create.py", line 51, in get_obj_positions
x_positions.extend(list(np.random.randint(0, max_x, count)))
File "mtrand.pyx", line 748, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1247, in numpy.random._bounded_integers._rand_int64
ValueError: high <= 0