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

Error when trying to train STEAL model #9

Open
ToadTWP666 opened this issue Nov 9, 2022 · 2 comments
Open

Error when trying to train STEAL model #9

ToadTWP666 opened this issue Nov 9, 2022 · 2 comments

Comments

@ToadTWP666
Copy link

I was able to train the baseline model using the following command: python train.py --dataset_type ped2

When I execute the following command:
python train.py --dataset_type ped2 --pseudo_anomaly_jump 0.01 --jump 2 3 4 5

I get the following error:

rain.py --dataset_type ped2 --pseudo_anomaly_jump 0.01 --jump 2 3 4 5
exp_dir: logweight_recon_pajump0.01_jump[2,3,4,5]
Traceback (most recent call last):
File "train.py", line 115, in
net_in[b] = imgsjump[0][b]
IndexError: index 1 is out of bounds for dimension 0 with size 1

Please advise

@aseuteurideu
Copy link
Owner

Where do you get your dataset? What is the size of imgsjump and net_in when the error happen?

@zdl12345678
Copy link

I also encountered the same problem, did you solve it?

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

3 participants