stanford-tensorflow-tutorials icon indicating copy to clipboard operation
stanford-tensorflow-tutorials copied to clipboard

ValueError: Sample larger than population

Open bandarikanth opened this issue 7 years ago • 1 comments

i used python3.5 and tensorflow1.3 , I got below error while running data.py I tried to edit random.py but it's read only File "/usr/lib/python3.5/random.py", line 324, in sample raise ValueError("Sample larger than population") ValueError: Sample larger than population

how to fix it

bandarikanth avatar Dec 30 '17 11:12 bandarikanth

It means you're trying to sample from a collection whose size is smaller than the number of samples you want. I don't know what you mean when you try to edit random.py

chiphuyen avatar Jan 30 '18 23:01 chiphuyen