Open nordlead2005 opened 6 years ago
Oh thanks! I will look into that
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
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
https://github.com/schollz/find/blob/ebe2a554ca8ddee26ba7c90fff20decbdcfdac97/rf.py#L52