GithubHelp home page GithubHelp logo

what dose the 'SeqL' mean? about opengait HOT 7 CLOSED

shiqiyu avatar shiqiyu commented on August 16, 2024
what dose the 'SeqL' mean?

from opengait.

Comments (7)

chuanfushen avatar chuanfushen commented on August 16, 2024

I recommend you print out the seqL, you will feel about it.

from opengait.

aleeyang avatar aleeyang commented on August 16, 2024

thx, But there is nothing output in the terminal when I use print such asprint(SeqL)
There is only training info in the terminal .
I use vscode to run the code in remote server.
Is there a predefined debug method(print the variable) in OpenGait?

from opengait.

ChaoFan996 avatar ChaoFan996 commented on August 16, 2024

Yet, thanks for your suggestions.
At the training phase, the value of seqL should be None unless the input sequence's length is unfixed.
So, you can set sample_type as unfixed_ordered and have a try again.
Moreover, at the test phase, the sample_type is set to all_ordered in default,
in another word, you should print out seqL at this time to feel it.
(all means the unfixed length of real-world gait sequence).

from opengait.

aleeyang avatar aleeyang commented on August 16, 2024

thank you

from opengait.

aleeyang avatar aleeyang commented on August 16, 2024

Thank you again your your reply.I compare the original"Gaitset" source code with yours.
The set_pooling is quite different.
The code in the original is https://github.com/AbnerHqC/GaitSet/blob/5535943428b66415530d8379b648b8f74a294219/model/network/gaitset.py#L47
Even the batch_frame euqual to None, it use if self.batch_frame is None: return torch.max(x, 1) the max is opeated in the 1 dimension of the x

But your code is just just max,return self.pooling_func(seqs, **kwargs) the default dimension is 0

class PackSequenceWrapper(nn.Module):

from opengait.

aleeyang avatar aleeyang commented on August 16, 2024

I mean if the 'SeqL' in your code and 'bacth_frame' in the original code both point the same subject.When it is None,your code use max in the 0 dim which is the batch_size dimension,it seems wrong....
The original one use max in the 1 dimension(the sequence dimension) whether it is None or not
The set pooling is same as the frame pooling which is used to aggrate the temporal info right?
Maybe my understanding is wrong,hope you can point it out.
Thank you again!

from opengait.

ChaoFan996 avatar ChaoFan996 commented on August 16, 2024

Yet, **kwargs can pass the dim=1 into self.pooling_func (you call max here).

from opengait.

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.