Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Load outside from dss sklearn models with pickle

Level 1
Load outside from dss sklearn models with pickle


I'm trying to load a  python model in a.sav file with pickle, form a project outside DSS. The DSS is running in a container. I can't access the file with "open", it returns the following error:

[Errno 2] No such file or directory:

 Is there a way to load external files to a python recipe with Pickle?  or any alternative approach?


0 Kudos
1 Reply
Dataiker Alumni

Hi @Paucns 

By default you don't have access to your host filesystem from inside a Docker container. What you can do is to mount a volume by providing an extra parameter to the "docker run" command:

docker run [other parameters] -v /path/on/host:/path/inside/container dataiku/dss

This will allow you to access files in /path/on/host on the host from /path/inside/container in container.



Andrey Avtomonov
R&D Engineer @ Dataiku
0 Kudos


Labels (3)
A banner prompting to get Dataiku