Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Fails #26

Open
jetlime opened this issue Jul 20, 2024 · 0 comments
Open

Training Fails #26

jetlime opened this issue Jul 20, 2024 · 0 comments

Comments

@jetlime
Copy link

jetlime commented Jul 20, 2024

When executing the proposed training command, the code crashes:

$ python main.py --model-name CNNAutoencoder --device cpu

Training the model!!!
Traceback (most recent call last):
  File "/home/paul/Documents/PANDA/code/main.py", line 179, in <module>
    main(args)
  File "/home/paul/Documents/PANDA/code/main.py", line 163, in main
    trainer(args)
  File "/home/paul/Documents/PANDA/code/train.py", line 151, in trainer
    losses: List = _train_one_epoch(
  File "/home/paul/Documents/PANDA/code/train.py", line 81, in _train_one_epoch
    outputs, tails = model(reshaped_packets)
ValueError: not enough values to unpack (expected 2, got 1)

Environment:

  • Python Version: 3.10.14
  • OS:
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant