Skip to content

Commit

Permalink
add GT to kwcoco script, tcn dataset object, generated sample kwcoco …
Browse files Browse the repository at this point in the history
…file, config file corrections
  • Loading branch information
periakiva committed Oct 8, 2024
1 parent 3ac68cb commit b0cfde8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tcn_hpl/data/tcn_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def standarize_online_inputs(inputs):
def standarize_offline_inputs(data):
dset = data[0]
frames = data[1]




def collect_inputs(data, offline=True):
"""
Expand All @@ -36,10 +35,8 @@ def collect_inputs(data, offline=True):


if offline:
# Fetch from offline data source
inputs = standarize_offline_inputs(data)
else:
# Fetch from real-time source (dummy logic here, replace with actual)
inputs = standarize_online_inputs(data)


Expand All @@ -55,7 +52,6 @@ def define_tcn_vector(inputs):
Returns:
tcn_vector: The defined TCN vector.
"""
# Example TCN vector calculation (modify according to your actual logic)
tcn_vector = torch.tensor(inputs).float() # Dummy transformation
return tcn_vector

Expand Down

0 comments on commit b0cfde8

Please sign in to comment.