Code Monkey home page Code Monkey logo

Comments (6)

ykotseruba avatar ykotseruba commented on July 18, 2024

Hi Xingchen,
We found some issues with sampling after submitting the final print version. After correcting it the number of samples for training was reduced, so even though the benefits of the hybrid model are still evident, the overall results dropped somewhat. This didn't affect PIE because it's a large dataset, but JAAD is much smaller, especially the behavioural subset.

In general, PCPA is a rather large model for JAAD and fairly difficult to train. For better results I recommend dropping the learning rate to 10-9 or 10-10 and train for 60 epochs. I put a pretrained model for JAAD_beh on Dropbox, the link is here. You can run it using the test.py script by providing a path to a pretrained model as a command line argument. Hope this helps.
Yulia

from pedestrianactionbenchmark.

xingchenzhang avatar xingchenzhang commented on July 18, 2024

Hi Yulia,

Many thanks for your reply and for sending the pretrained model. However, when I tried to run your model, I got the error 'ValueError: bad marshal data (unknown type code)', which may be because of different versions of Python...I haven't solved this yet.

I also trained PCPA with the learning rate 5.0e-10 for 60 epochs, but the results were even worse...(I didn't use speed, because I found there was no speed in the config.yaml you sent).

I will try again.

Thanks a lot!
Xingchen

from pedestrianactionbenchmark.

ykotseruba avatar ykotseruba commented on July 18, 2024

Hi Xingchen,
Are you using the docker setup? If not, perhaps, give it a try.
I used Python 3.6.9 to train and save the model.
Yulia

from pedestrianactionbenchmark.

xingchenzhang avatar xingchenzhang commented on July 18, 2024

Hi Yulia,

Sorry for the late reply.

I am not using the docker setup. I will try it at a later time.

Many thanks for your help!
Xingchen

from pedestrianactionbenchmark.

jinxing94 avatar jinxing94 commented on July 18, 2024

Hi Xingchen,
Are you using the docker setup? If not, perhaps, give it a try.
I used Python 3.6.9 to train and save the model.
Yulia
@ykotseruba
Which TensorFlow version did you use?

from pedestrianactionbenchmark.

jinxing94 avatar jinxing94 commented on July 18, 2024

I have the same issue that I cannot load your pretrained mode.

from pedestrianactionbenchmark.

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.