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

Getting a error while executing code #6

Open
vikash1234567890 opened this issue Jul 11, 2022 · 0 comments
Open

Getting a error while executing code #6

vikash1234567890 opened this issue Jul 11, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@vikash1234567890
Copy link

vikash1234567890 commented Jul 11, 2022

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

@tylerhutcherson tylerhutcherson added bug Something isn't working help wanted Extra attention is needed labels Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants