Giter VIP home page Giter VIP logo

Comments (1)

irasit avatar irasit commented on May 17, 2024

After adding the fix in load_model, this problem still happened in another place.

LoadNeuropod modelPath = /mnt/mesos/sandbox/sandbox/tmp/DLInferenceTransformer_cb7c9b0bcdca_PID_dl_neuropod_integration_tests_ol_MID_tm20200618-034902-UHKBUHNJ-OKLFBD--1131379289 failed: AttributeError: module 'sys' has no attribute 'argv'

At:
  /home/udocker/michelangelo-deeplearning-inference/env/lib/python3.6/site-packages/ludwig/contrib.py(35): contrib_import
  /home/udocker/michelangelo-deeplearning-inference/env/lib/python3.6/site-packages/ludwig/api.py(38): <module>
  <frozen importlib._bootstrap>(219): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(678): exec_module
  <frozen importlib._bootstrap>(665): _load_unlocked
  <frozen importlib._bootstrap>(955): _find_and_load_unlocked
  <frozen importlib._bootstrap>(971): _find_and_load
  /tmp/tmpygg1wlvu.neuropod_python_symlinks/49400b87_a06b_4297_ab3d_bb161a4e44dd/ludwig/neuropod_export.py(10): <module>
  <frozen importlib._bootstrap>(219): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(678): exec_module
  <frozen importlib._bootstrap>(665): _load_unlocked
  <frozen importlib._bootstrap>(955): _find_and_load_unlocked
  <frozen importlib._bootstrap>(971): _find_and_load
  <frozen importlib._bootstrap>(994): _gcd_import
  /home/udocker/michelangelo-deeplearning-inference/env/lib/python3.6/importlib/__init__.py(126): import_module
  /home/udocker/michelangelo-deeplearning-inference/env/lib/python3.6/site-packages/neuropod-0.2.0-py3.6-linux-x86_64.egg/neuropod/backends/python/executor.py(130): __init__

Seems the best place to put it is in neuropod/backends/python/executor.py

from neuropod.

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.