Dockerfile/Supervisor sets Find to store data at /data and rf can't find data/group.rf.pkl
nordlead2005 opened this issue · comments
nordlead2005 commented
I downloaded the dockerfile and supervisor conf and built the docker image and Find randomForest doesn't work. I believe it is because rf.py has "data/" hardcoded, but find gets passed in -data /data
Line 52 in ebe2a55
Zack commented
Oh thanks! I will look into that
asksven commented
Workaround from #158 setting the volume mountpoint to /usr/local/work/src/github.com/schollz/find does the trick for me. After re-deploying (on kubernetes) /usr/local/work/src/github.com/schollz/find/data was created and contains
-rw------- 1 root root 32768 Feb 10 18:16 <my-group>.db
-rw-r--r-- 1 root root 91 Feb 10 18:16 <my-group>.model
-rw-r--r-- 1 root root 1096 Feb 10 18:16 <my-group>.rf.json
-rw-r--r-- 1 root root 5962 Feb 10 18:16 <my-group>.rf.pkl
drwx------ 2 root root 16384 Nov 11 17:43 lost+found