Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
6134734
1
Parent(s):
ab7919c
online_data_generation.py
CHANGED
|
@@ -159,7 +159,7 @@ def load_trajectory(log_file):
|
|
| 159 |
logger.error(f"Error loading trajectory from {log_file}: {e}")
|
| 160 |
return []
|
| 161 |
|
| 162 |
-
|
| 163 |
def process_session_file(log_file, clean_state):
|
| 164 |
"""Process a session file, splitting into multiple trajectories at reset points."""
|
| 165 |
conn = None
|
|
|
|
| 159 |
logger.error(f"Error loading trajectory from {log_file}: {e}")
|
| 160 |
return []
|
| 161 |
|
| 162 |
+
@torch.no_grad()
|
| 163 |
def process_session_file(log_file, clean_state):
|
| 164 |
"""Process a session file, splitting into multiple trajectories at reset points."""
|
| 165 |
conn = None
|