Skip to content

dataPreprocess.py 两个问题 #8

Open
@beathahahaha

Description

@beathahahaha

一、
dataPreprocess.py代码,86行,num_train_sample = 10000,这里应该是1000000吧?
否则运行main.py报错IndexError: index 9999 is out of bounds for axis 0 with size 9999

二、
dataPreprocess.py代码的连续值处理的裁剪没有生效,(代码原因),也可以做个测试,修改continous_clip = [20, 600, 100, 50, 64000, 500, 100, 50, 500, 10, 10, 10, 50],比如为0,会发现生成出来的train.txt中的连续值不会是0,即裁剪未生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions