Code Monkey home page Code Monkey logo

tfmodel's Issues

pkg_resources.DistributionNotFound

After installation success,i run

./tfmodel validate model

I met such a error,anynoe have met such a problem:

Traceback (most recent call last):
  File "./tfmodel", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3098, in <module>
    @_call_aside
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3082, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3111, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 573, in _build_master
    ws.require(__requires__)
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 891, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/anaconda3/envs/tensorflow/lib/python3.6/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tensorflow-model==0.1.1' distribution was not found and is required by the application

My tensorflow version = 1.13.1

No module named 'utils'

hello, tobe,
while the tfmodel was installed successed using pip, the tfmodel command cannot be executed, the error infomation is:
Traceback (most recent call last):
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users###\AppData\Local\Continuum\anaconda3\envs\tfmodel\Scripts\tfmodel.exe_main
.py", line 5, in
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\site-packages\tfmodel\command.py", line 24, in
from tfmodel.savedmodel_analyst import SavedmodelAnalyst
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\site-packages\tfmodel\savedmodel_analyst.py", line 7, in
from utils import ModelUtil
ModuleNotFoundError: No module named 'utils'

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.