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 output when I run all_datasets_training.py #27

Open
Usmankhujaev opened this issue Sep 16, 2021 · 1 comment
Open

Error output when I run all_datasets_training.py #27

Usmankhujaev opened this issue Sep 16, 2021 · 1 comment

Comments

@Usmankhujaev
Copy link

Traceback (most recent call last):
File "/home/lidar/projects/LSTM-FCN/all_datasets_training.py", line 268, in
train_model(model, did, dataset_name_, epochs=2000, batch_size=128,
File "/home/lidar/projects/LSTM-FCN/utils/keras_utils.py", line 63, in train_model
X_train, y_train, X_test, y_test, is_timeseries = load_dataset_at(dataset_id,
File "/home/lidar/projects/LSTM-FCN/utils/generic_utils.py", line 65, in load_dataset_at
y_train = (y_train - y_train.min()) / (y_train.max() - y_train.min()) * (nb_classes - 1)
TypeError: unsupported operand type(s) for -: 'str' and 'str'

I have this error after running the all_datasets_training.py
can you help me fixing this?

@Usmankhujaev
Copy link
Author

please help it's urgent

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