Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

buildCustomSample leads to a IndexError #6

Open
@vsarunhah

Description

@vsarunhah

While trying to run CryptoKnight, I'm able to draw the distribution and get the model trained. However, when I try to use knight.py to predict an executable, I get this:

File "./src/Model/dcnn.py", line 481, in <module>   main(sys.argv) File "./src/Model/dcnn.py", line 446, in main   if args.predict: predict() File "./src/Model/dcnn.py", line 339, in predict   x_val = buildCustomSample(args.predict) File "./src/Model/dcnn.py", line 122, in buildCustomSample   return torch.Tensor([[features[0]]])IndexError: list index out of range

While trying to get to the error, it seems like the'./data/sample' file is just always empty.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp