GithubHelp home page GithubHelp logo

Comments (2)

Sy-Zhang avatar Sy-Zhang commented on June 10, 2024

Hi, Sy. I am trying to run MS-2D-TAN with python moment_localization/train.py --cfg experiments/tacos/MS-2D-TAN-G-VGG.yaml --dataDir data/ --verbose but get the following error:

Traceback (most recent call last):
  File "moment_localization/train.py", line 77, in <module>
    args = parse_args()
  File "moment_localization/train.py", line 43, in parse_args
    update_config(args.cfg)
  File "/media/jpl/T7/MS-2D-TAN/lib/core/config.py", line 105, in update_config
    _update_dict(config[k], v)
  File "/media/jpl/T7/MS-2D-TAN/lib/core/config.py", line 96, in _update_dict
    raise ValueError("{} not exist in config.py".format(k))
ValueError: DATA_DIR not exist in config.py

For clarification, since my environment reported error on import. I changed the code in train.py (but I dont think the problem is here):

import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from lib import models
from lib import datasets
from lib.core.config import config, update_config
...

As I mentioned in README.md, the command should start with python moment_localization/run.py. I have removed moment_localization/train.py and moment_localization/test.py since they belong to 2D-TAN but not MS-2D-TAN. Sorry for confusing you.

from videox.

JackyWang2001 avatar JackyWang2001 commented on June 10, 2024

Thanks for your timely reply and clarification. I should read the README more carefully.

from videox.

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.