Giter Site home page Giter Site logo

Comments (4)

abduallahmohamed avatar abduallahmohamed commented on July 17, 2024

Hi,

I just rand the code:
here's my log;
can you make sure the you copied the repo correctly with the model weights?
the number of samples is 20 ?

image

You can notice a difference between my log and yours, it seems that the models checkpoints didn't load on your side correctly;

from social-stgcnn.

zhanghuishun avatar zhanghuishun commented on July 17, 2024

@abduallahmohamed Thanks you for reply!
I still have a question about the kernel size of st_gcn in model.py . I saw that you set graph convolving kernel size = 8 which is observe seq length. I dont understand that.
Another question is that I would like to know if you have tried attention mechanism. Because I read the ST-GCN paper you reference, they put a attention in their network. Thanks again!

from social-stgcnn.

abduallahmohamed avatar abduallahmohamed commented on July 17, 2024

For obs len = 8, we needed a features from each pedestrians trajectory that is able to match the adjacency matrix A. take a look into this einsum:

x = torch.einsum('nkctv,kvw->nctw', (x, A))

Say for example we have 2 pedestrains observed over 8 time steps, the A will have dime of (8,2,2), the vertices have dim of (2,8,2) in order to have the einsum that represents the ST-GCNN to work we needed a graph kernel of 8.

I tested the attention mechanism and it wasn't promising on my side, but I could say it was a naiive test and out of the scope for this work.

from social-stgcnn.

zhanghuishun avatar zhanghuishun commented on July 17, 2024

Thanks a lot!

from social-stgcnn.

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.