Skip to content

Commit

Permalink
change NORM_EACH_CHANNEL back to False
Browse files Browse the repository at this point in the history
  • Loading branch information
zezhishao committed Oct 25, 2023
1 parent 2ae8908 commit cf598ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def generate_data(args: argparse.Namespace):
# Thus, because larger values of the loss function will be obtained when the magnitudes of different variables differ significantly,
# the model will be trained to focus on the variable with the largest magnitude. Then, the loss is more likely to be reduced.
# If downstream tasks have other requirements, you can set norm_each_channel to according to your needs.
NORM_EACH_CHANNEL = True # if normalize each channel of data separately.
NORM_EACH_CHANNEL = False # if normalize each channel of data separately.

OUTPUT_DIR = "datasets/" + DATASET_NAME
DATA_FILE_PATH = "datasets/raw_data/{0}/{0}.csv".format(DATASET_NAME)
Expand Down
2 changes: 1 addition & 1 deletion scripts/data_preparation/Illness/generate_training_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def generate_data(args: argparse.Namespace):
# Thus, because larger values of the loss function will be obtained when the magnitudes of different variables differ significantly,
# the model will be trained to focus on the variable with the largest magnitude. Then, the loss is more likely to be reduced.
# If downstream tasks have other requirements, you can set norm_each_channel to according to your needs.
NORM_EACH_CHANNEL = True # if normalize each channel of data separately.
NORM_EACH_CHANNEL = False # if normalize each channel of data separately.

OUTPUT_DIR = "datasets/" + DATASET_NAME
DATA_FILE_PATH = "datasets/raw_data/{0}/{0}.csv".format(DATASET_NAME)
Expand Down
2 changes: 1 addition & 1 deletion scripts/data_preparation/Traffic/generate_training_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def generate_data(args: argparse.Namespace):
# Thus, because larger values of the loss function will be obtained when the magnitudes of different variables differ significantly,
# the model will be trained to focus on the variable with the largest magnitude. Then, the loss is more likely to be reduced.
# If downstream tasks have other requirements, you can set norm_each_channel to according to your needs.
NORM_EACH_CHANNEL = True # if normalize each channel of data separately.
NORM_EACH_CHANNEL = False # if normalize each channel of data separately.

OUTPUT_DIR = "datasets/" + DATASET_NAME
DATA_FILE_PATH = "datasets/raw_data/{0}/{0}.csv".format(DATASET_NAME)
Expand Down

0 comments on commit cf598ac

Please sign in to comment.