Git Product home page Git Product logo

Comments (1)

kwuking avatar kwuking commented on May 28, 2024

down_sampling_window=2的时候,如果seq_len=45(奇数),x_enc用torch.nn.AvgPool1d或者torch.nn.MaxPool1d向下采样的长度22, x_mark_enc向下采样的时候x_mark_enc_mark_ori[:, ::self.configs.down_sampling_window, :] 长度23,会不一致把

你好,因为默认下采样窗口是2,如果是奇数的话,建议需要修改下采样的窗口尺寸以及下采样层数,例如45的长度,下采样窗口为2,层数也为2即可。

from timemixer.

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.