4 ms·
This is nice work, but anyone wanting to try it for themselves should be warned that you shouldn't unpickle data received from an untrusted source. https://blo
by robinson-wall 10y ago
This is nice work, but anyone wanting to try it for themselves should be warned that you shouldn't unpickle data received from an untrusted source.
https://blog.nelhage.com/2011/03/exploiting-pickle/ https://blog.nelhage.com/2011/03/exploiting-pickle/
- str33t_punk 10y agoglad to see this as the first comment
- kordless 10y agoAnti-pickler.
- wroscoe 10y agoI copied this method of loading datasets from Keras. https://github.com/fchollet/keras/blob/master/keras/datasets/imdb.py#L43 https://github.com/fchollet/keras/blob/master/keras/datasets.... What's a better alternative.
- Drdrdrq 10y agoAnother serialization format which doesn't create objects, like JSON, XML, CSV,...
- deleted 10y ago[deleted]