Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 6c3c5f0

Browse files
committed
Remove dropout on Senosr
1 parent 16c11d4 commit 6c3c5f0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ocf_datapipes/training/common.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -885,20 +885,6 @@ def slice_datapipes_by_time(
885885
fill_selection=production,
886886
)
887887

888-
# Dropout on the sensor, but not the future sensor
889-
dropout_timedeltas = minutes_list_to_timedeltas(conf_in.sensor.dropout_timedeltas_minutes)
890-
891-
sensor_dropout_time_datapipe = get_t0_datapipe("sensor").draw_dropout_time(
892-
# All sensor data could be delayed by up to 30 minutes
893-
# (this does not stem from production - just setting for now)
894-
dropout_timedeltas=dropout_timedeltas,
895-
dropout_frac=0 if production else conf_in.sensor.dropout_fraction,
896-
)
897-
898-
datapipes_dict["sensor"] = datapipes_dict["sensor"].apply_dropout_time(
899-
dropout_time_datapipe=sensor_dropout_time_datapipe,
900-
)
901-
902888
if "gsp" in datapipes_dict:
903889
datapipes_dict["gsp"], dp = datapipes_dict["gsp"].fork(2, buffer_size=5)
904890

0 commit comments

Comments
 (0)