Fix python module and imagenet wrapper