Skip to content

Commit

Permalink
Workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
Derkula committed Jun 6, 2024
1 parent 300cf28 commit 3743a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ori_data = real_data_loading(data_name, seq_len)
elif data_name == "sine":
# Set number of samples and its dimensions
no, dim = 10000, 5
no, dim = 100, 5
ori_data = sine_data_generation(no, seq_len, dim)

print(data_name + " dataset is ready.")
Expand All @@ -29,15 +29,13 @@
parameters["module"] = "gru"
parameters["hidden_dim"] = 24
parameters["num_layer"] = 3
parameters["iterations"] = 10000
parameters["iterations"] = 100
parameters["batch_size"] = 128


# Run TimeGAN
generated_data = timegan.train_timegan(ori_data, parameters)
timed_training = timegan.train_timegan_timed(
ori_data, parameters, filename="timegan_save", seconds=60, phase=1, current_iter=0
)
# timed_training = timegan.train_timegan_timed(ori_data, parameters, filename="timegan_save", seconds=60, phase=1, current_iter=0)


print("Finish Synthetic Data Generation")
Empty file added timegan/data/__init__.py
Empty file.

0 comments on commit 3743a68

Please sign in to comment.