Submitted by Atom_101 t3_1050cw1 in MachineLearning
Atom_101 OP t1_j3b291o wrote
Reply to comment by dr-pork in [D] Best way to package Pytorch models as a standalone application by Atom_101
It seems you can't lock a container. If the end user has root access they will be able to ssh into the container and see your source code. The solution seems to be to obfuscate your code using something like pyarmor, so that even if the user accesses the docker image, they won't easily figure out your source code.
dr-pork t1_j3gh0wc wrote
I'll look into pyarmor. I just found this as well https://www.sourcedefender.co.uk/ Any idea if that would work? Thanks.
Viewing a single comment thread. View all comments