Comments (3)
It seems that the conda environment wan't configured properly. Did you get any warning when build the train image about conda's environment settings? You may check the conda environment in your train pod by
kubectl exec -it <your-train-pod> -- /bin/bash
$you-pod:~# conda env list
from pipeline.
from https://joinslack.pipeline.ai:
I find out the solutions. In fact, you need to add some environment variables in the training Dockerfile templates. More specifically, the official Dockerfile templates lose the PIPELINE_MODEL_PATH
and PIPELINE_MODEL_TRAIN_CONDA_ENV_NAME
, so you need to config those two variables according to your environment.
from pipeline.
ok, this is now fixed. make sure you do the following:
pipeline env_registry_sync --tag=1.5.0
pipeline train-server-stop --model-name=mnist --model-tag=v1
pipeline train-server-build --model-name=mnist --model-tag=v1 --model-type=pytorch --model-path=./pytorch/mnist-v1/model/
pipeline train-server-start --model-name=mnist --model-tag=v1 --input-host-path=./pytorch/mnist-v1/model/ --output-host-path=./pytorch/mnist-v1/model/ --training-runs-host-path=./pytorch/mnist-v1/model/ --train-args=""
basically, clean your env, then re-run the training steps here:
https://github.com/PipelineAI/pipeline/blob/master/docs/quickstart/docker/README-training.md
thanks @ericwangqing for your input.
we renamed those variables to PIPELINE_RESOURCE_* from PIPELINE_MODEL_*, but the Docker image wasn't yet pushed.
thanks for helping us track this down. please re-open if there is still an issue. we've updated the docs, as well, to fix some minor typos.
from pipeline.
Related Issues (20)
- Installing Pipeline CLI works, but SyntaxError when executing "pipeline version" HOT 4
- Uploading Model to PipelineAI throws exception HOT 2
- ErrImageNeverPull Error HOT 3
- error validating data HOT 3
- Istio 1.0 HOT 3
- Split docs to separate repo HOT 1
- Clean up Docker volumes / logs for HOST_INPUT & HOST_OUTPUT in CLI HOT 1
- How to develop application log analytics tool using Deep-learning HOT 1
- Failed start Spring in Docker container HOT 3
- 4.4G of git history HOT 1
- nvidia-docker2 uses different start method HOT 1
- tensorflow_kafka_test.py does not work HOT 2
- Create example with MLflow + Keras + PipelineAI
- %5Cresource-source-init issue - possible Powershell + PipelineAI CLI issue HOT 1
- how to generate the dockerfile?
- Fix cli for Python 3.7 - tar.add(exclude=) has been deprecated
- Notebooks on community edition broken? HOT 1
- [question] This Slack invite link is no longer active. HOT 1
- workshop questions - information request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipeline.