Skip to content

Commit

Permalink
Build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Derkula committed Jun 6, 2024
1 parent 90875ce commit 99200be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "timegan"
version = "0.1.2"
version = "0.1.3"
description = "A fork of https://github.com/jsyoon0823/TimeGAN that implements static features and snapshotting"
authors = ["Zack Kromer <fzachary.kromer@ucdenver.edu>"]
repository = "https://github.com/det-lab/TimeGAN-Static"
Expand Down
4 changes: 3 additions & 1 deletion timegan/data_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ def real_data_loading(data_name, seq_len):
assert data_name in ["stock", "energy"]

if data_name == "stock":
ori_data = np.loadtxt(".venv/lib/python3.10/site-packages/timegan/data/stock_data.csv", delimiter=",", skiprows=1)
ori_data = np.loadtxt(
".venv/lib/python3.10/site-packages/timegan/data/stock_data.csv", delimiter=",", skiprows=1
)
elif data_name == "energy":
ori_data = np.loadtxt("data/energy_data.csv", delimiter=",", skiprows=1)

Expand Down
4 changes: 2 additions & 2 deletions timegan/timegan.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

# mypy: ignore-errors
# Necessary Packages
from time import time_ns

import numpy as np
import tensorflow as tf
from tf_slim.layers import layers as _layers

from time import time_ns

from timegan.utils import batch_generator, extract_time, random_generator, rnn_cell

tf.compat.v1.disable_eager_execution()
Expand Down

0 comments on commit 99200be

Please sign in to comment.