Giter VIP home page Giter VIP logo

Comments (3)

ericwangqing avatar ericwangqing commented on June 26, 2024

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.

cfregly avatar cfregly commented on June 26, 2024

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.

cfregly avatar cfregly commented on June 26, 2024

@un-knight

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.