Git Product home page Git Product logo

Comments (6)

nlpofwhat avatar nlpofwhat commented on August 16, 2024 1

@stefan-kohnen @ghenter please refer to : https://github.com/nlpofwhat/StyleGestures-WithSmallMemory

from stylegestures.

simonalexanderson avatar simonalexanderson commented on August 16, 2024

Dear @FireSoldier,
Thank you for the comment. We have not considered memory consumption too much, so any and all suggestions for improvements are much appreciated, as are pull requests.

Regarding the first issue, we prepare all conditioning (concatenated pose and control sequences) in advance during the initialization of the MotionData class. It should be straightforward to move this to the get_item() method, which would be much more memory efficient. Regarding redundant copy() statements, these are leftovers from early debugging efforts and should be removed. Thank you for pointing this out.

I hope this answers your questions and that your model training is successful!

from stylegestures.

nlpofwhat avatar nlpofwhat commented on August 16, 2024

thanks! I've solved the problem.

from stylegestures.

stefan-kohnen avatar stefan-kohnen commented on August 16, 2024

Hi @nlpofwhat,
I am interested in your code which loads the data more efficiently with regard to memory. Would you like to share this code with a pull request?
I'd appreciate it a lot! =)

from stylegestures.

stefan-kohnen avatar stefan-kohnen commented on August 16, 2024

@nlpofwhat Thanks! 👍

from stylegestures.

cssddnnc9527 avatar cssddnnc9527 commented on August 16, 2024

@nlpofwhat hi, thanks for your hard work in order to resolve the memory issue.But after use your code, I met the following error, any advice will be appreciated!

_log_dir:results/locomotion/log_20220802_1328
input_data: (13710, 80, 66)
test_data: (31, 100, 66)
train_data shape (54440, 80, 66)
alidation_data shape (100, 80, 66)
all_test_data shape (31, 100, 66)
self.n_test %d
38
Traceback (most recent call last):
File "/opt/pycharm/pycharm-community-2021.3.3/plugins/python-ce/helpers/pydev/pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/opt/pycharm/pycharm-community-2021.3.3/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/media/mashaoming/t21/code/StyleGestures-master/train_moglow.py", line 45, in
x_channels, cond_channels = data.n_channels()
AttributeError: 'Locomotion' object has no attribute 'n_channels'

Process finished with exit code 1_

from stylegestures.

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.