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
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,
The text was updated successfully, but these errors were encountered:
Many thanks for your response. Yes the issue was in dataset, re-downloading of dataset resolved that issue. Now i am having issue in updating im2rec folder.
The data lists are being prepared correctly in "recs" folder of respective datasets but im2rec folder is not being updated. I have updated the paths in preprocessing_files for im2rec i.e. "home/pc_name/virtualenv_name (i.e.mxnet)/bin/im2rec". What path is supposed to be given for im2rec? Am i giving the right path?
Screen-shot of Mars and ilLIDS-VID preprocessing is attached for information please.
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,
The text was updated successfully, but these errors were encountered: