Giter Club home page Giter Club logo

Comments (2)

GuyTevet avatar GuyTevet commented on July 17, 2024

Hi @DTOSCANO461 ,
I wasn't able to reproduce your bug, did you change something in the code? Can you share the full error traceback?

from motionclip.

DTOSCANO461 avatar DTOSCANO461 commented on July 17, 2024

i did make some changes. and probably... it could be the cause. But the first error i got was this:

python -m src.datasets.amass_parser --dataset_name amass
Loading babel labels
DONE! - Loading babel labels
Loading Body Models
DONE! - Loading Body Models
Reading Transitions_mocap sequence...
0%| | 0/111 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/mulinux/anaconda3/envs/motionclip/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/mulinux/anaconda3/envs/motionclip/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/mulinux/Documents/motion/MotionCLIP/src/datasets/amass_parser.py", line 307, in
db = read_data(args.input_dir,
File "/home/mulinux/Documents/motion/MotionCLIP/src/datasets/amass_parser.py", line 115, in read_data
results_dict = read_single_sequence(split_name, dataset_name, seq_folder, seq_name, body_models, target_fps,
File "/home/mulinux/Documents/motion/MotionCLIP/src/datasets/amass_parser.py", line 138, in read_single_sequence
actions = [x for x in os.listdir(osp.join(folder, subject)) if x.endswith('.npz')]
NotADirectoryError: [Errno 20] Not a directory: './data/amass/Transitions_mocap/turntwist_kick_poses.npz'

i believe this error is about the '.npz', it is a file, not a directory. i replaced 'os.listdir(' whith 'list('.

i also include a description of my folder structure in case you need it, probably the structure of Amass DB is wrong. the document is called 'summary_tree_for_Guytevet.txt]'
summary_tree_for_Guytevet.txt

from motionclip.

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.