DFN-tensorflow icon indicating copy to clipboard operation
DFN-tensorflow copied to clipboard

about "random.sample()"

Open myknowntime opened this issue 5 years ago • 1 comments

In file utils , I found the function get_batch_of__trainval() uses random.sample to get batch_list in line 65, but random.sample is a pseudorandom function. I think it may influence the final performance of your network. Can you explain why you use this random.sample()?

myknowntime avatar Apr 06 '19 07:04 myknowntime

Sorry, I didn't notice the problem, and I am not sure whether it could influence the final performance of the network. Perhaps you could use random.seed.

YuhuiMa avatar Apr 14 '19 09:04 YuhuiMa