Titanic Example: loaddata failsSee original GitHub issue
I’m trying to compile/execute the official titanic-ml example, but I have the issue that the python packages which I import under the tag “imports” cannot be found when I run the pipeline. For example, in the step loaddata, I get
ModuleNotFoundError: No module named 'seaborn'
So does that mean that kale does not take care of making sure that all imported packages are actually installed and that I have to do it myself by either
- using subprocess inside my code
- referring to a docker image that has the package preinstalled? In this case, what if my docker image is in a private repository, do I then need to manually edit the generated
.kale.pyscript and add image pull secrets?
(I also noticed that in the Kale panel, the option “Use this notebook’s volumes” is disabled and I cannot enable it on the UI. Could these issues be related to one another?)
Would be very grateful for some advice! I’m using Kubeflow 0.7 and my notebook server is based on the image gcr.io/arrikto-public/tensorflow-1.14.0-notebook-cpu:kubecon-workshop. The kubeflow-kale version is 0.3.4. If you need any additional info, I’d be happy to provide them.
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
Does this also mean I need to compile my image to contain the data, or is there a way to point to the data?