GithubHelp home page GithubHelp logo

papagina / auto_conditioned_rnn_motion Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 26.0 52.04 MB

Implementation of Auto-Conditioned Recurrent Networks for Extended Complex Human Motion Synthesis

License: MIT License

Python 100.00%

auto_conditioned_rnn_motion's People

Contributors

papagina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto_conditioned_rnn_motion's Issues

Parsing bvh files

Thank you for your great work.

If I would like to use arbitrary bvh dataset, what should I do?

I already tried to convert not only CMU but also another bvh dataset, but When I converted another bvh dataset, it seems can not parse correctly.

When I visualize it, it seems strange moving. It's not only predicted result but also ground truth.

standard pose skeleton

Is the skeleton (standard.bvh) that is used to generate euclidean points based on a subject in the CMU dataset?

Assertion Error write bvh

Hello, I have been training the model in different data and when is time to write the bvh animation I get the following error from

rotation2xyz.py script:

"-->assert np.allclose(np.linalg.norm(children_xyz[i, :]), np.linalg.norm(children_orig[i, :]))
Assertion Error"

since there is no comment explaining this code I am having a really hard time figuring out how to solve it. I am using a small animation of shape:

[5,60,171]

How does the augment_train_data function work?

@papagina Hello, I am very interested in your work. But I have a question here when reading your code. Could you kindly explain how the augment_train_data function works below?

def get_train_data(bvh_filename):
    
    data=parse_frames(bvh_filename)
    train_data=get_training_format_data(data, non_end_bones,skeleton)
    center=get_motion_center(train_data) #get the avg position of the hip
    center[1]=0.0 #don't center the height

    new_train_data=augment_train_data(train_data, -center, [0,1,0, 0.0])
    return new_train_data

get_train_data and write_traindata_to_bvh

Hi

When I convert and restore BVH file, the area around End Site of restored motion is different.
Restored motion tremble.

The code is following:

from read_bvh import get_train_data, write_traindata_to_bvh

xyz_data = get_train_data("../train_data_bvh/indian/05.bvh")
write_traindata_to_bvh("restored_05.bvh", xyz_data)

How to solve this problem?

The generate joint are rotated

Nice work!
I have a question~

The joint points in the data generated by training model are rotated. The joint of the original BVH data is not rotated, but when the original BVH data is converted to NPY and after the training is transferred out of the BVH, the joints begin to rotate. How to avoid this problem?
thank you!

The first predict frame problem

I am very interested in your work, thank you very much for your work.

I have a problem. When I train the model, whether it is the result of the test or the tmp result in the training process will be like this picture in the first frame. How to avoid this problem, how to solve it?
first frame

fix_feet.py

Hi,

the fix_feet.py doesnt seem to run of the shelf, has unitialized and unused variables.

can you provide comments for the code. its hard to understand.

Thanks,

Error 'float' object is not subscriptable

Hi I got an error when I run the file pytorch_train_aclstm.py

<ipython-input-13-4f37744e12e2> in train_one_iteraton(real_seq_np, model, optimizer, iteration, save_dance_folder, print_loss, save_bvh_motion)
    140     if(print_loss==True):
    141         print ("###########"+"iter %07d"%iteration +"######################")
--> 142         print ("loss: "+str(loss.data.tolist()[0]))
    143 
    144 

TypeError: 'float' object is not subscriptable

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.