For preparation of Mars data, following error is seen:
Traceback (most recent call last):
File "preprocess_mars_image.py", line 100, in
gen_train()
File "preprocess_mars_image.py", line 85, in gen_train
save_train(pool)
File "preprocess_mars_image.py", line 46, in save_train
ts = random.sample(pool, 96)
File "/usr/lib/python2.7/random.py", line 323, in sample
raise ValueError("sample larger than population")
ValueError: sample larger than population
I have tried by reducing the sample size (ts = random.sample(pool, 96)) but the issue pertains. Do i need to change pool size? Any suggestion please?
Regards,
For preparation of Mars data, following error is seen:
Traceback (most recent call last):
File "preprocess_mars_image.py", line 100, in
gen_train()
File "preprocess_mars_image.py", line 85, in gen_train
save_train(pool)
File "preprocess_mars_image.py", line 46, in save_train
ts = random.sample(pool, 96)
File "/usr/lib/python2.7/random.py", line 323, in sample
raise ValueError("sample larger than population")
ValueError: sample larger than population
I have tried by reducing the sample size (ts = random.sample(pool, 96)) but the issue pertains. Do i need to change pool size? Any suggestion please?
Regards,