facebookresearch / multipathnet

A Torch implementation of the object detection network from "A MultiPath Network for Object Detection" (https://arxiv.org/abs/1604.02135)
Other
1.34k stars 275 forks source link

Safe model unpack #35

Closed szagoruyko closed 7 years ago

szagoruyko commented 7 years ago

The error happens because function serialization changes in different versions of lua and luajit and unpack function can be loaded. This patch applies unpack if it couldn't be loaded. Fixes https://github.com/facebookresearch/multipathnet/issues/33