Skip to content

sequence和label之间的关系 #28

@huozhilin

Description

@huozhilin

用flow数据做测试

sequence, label, v = map(lambda x: x.to(opt.device).squeeze(0), batch)
这里label是原来192+24 个数据中的最后24个*v
sequence的shape是(24,192,5),但是这里面每行往后偏移的时候都会用到label里的值,这样不就是引入了未来值吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions