Closed Vikasgoyal2308 closed 3 years ago
clean_directory()
train_dataset = SensorDataset(csv_name = train_csv, root_dir = "Data/", training_length = training_length, forecast_window = forecast_window) train_dataloader = DataLoader(train_dataset, batch_size=1, shuffle=True) test_dataset = SensorDataset(csv_name = test_csv, root_dir = "Data/", training_length = training_length, forecast_window = forecast_window) test_dataloader = DataLoader(test_dataset, batch_size=1, shuffle=True) best_model = transformer(train_dataloader, epoch, k, frequency, path_to_save_model, path_to_save_loss, path_to_save_predictions, device) inference(path_to_save_predictions, forecast_window, test_dataloader, device, path_to_save_model, best_model)
this part of the main module showing following error: File "", line 16 clean_directory() ^ IndentationError: expected an indented block
How to remove it?
clean_directory()
this part of the main module showing following error: File "", line 16
clean_directory()
^
IndentationError: expected an indented block
How to remove it?