Skip to content
Snippets Groups Projects
Commit d3b529da authored by Leon Michel Gorißen's avatar Leon Michel Gorißen
Browse files

Adjust cron schedule and cleanup foundation model workflow

- Updated cron job in  to run at 2 AM instead of every minute.
- Removed outdated  comments in  after confirming functionality of test dataset download and model evaluation.
- Added  to document ITA instance training configuration.
parent 59bf8a73
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
printenv >> /etc/environment printenv >> /etc/environment
# Write out the cron job to a file # Write out the cron job to a file
echo "* * * * * /usr/bin/env python3 /app/dynamics_learning/foundation_model.py >> /var/log/cron.log 2>&1" > /etc/cron.d/mycron echo "* 2 * * * /usr/bin/env python3 /app/dynamics_learning/foundation_model.py >> /var/log/cron.log 2>&1" > /etc/cron.d/mycron
# Apply cron job # Apply cron job
crontab /etc/cron.d/mycron crontab /etc/cron.d/mycron
......
...@@ -72,9 +72,9 @@ if __name__ == "__main__": ...@@ -72,9 +72,9 @@ if __name__ == "__main__":
if model: if model:
logger.info("Evaluating current model with test data.") logger.info("Evaluating current model with test data.")
test_dataset = Dataset(type="test") test_dataset = Dataset(type="test")
test_dataset.download() # FIXME test_dataset.download()
interpolate("/app/dynamics_learning/Trajectory Data/test") interpolate("/app/dynamics_learning/Trajectory Data/test")
model_analysis(test_dataset, model) # FIXME model_analysis(test_dataset, model)
"\n=====================================\nModel evaluated\n=====================================\n" "\n=====================================\nModel evaluated\n=====================================\n"
else: else:
logger.info("Model is not being evaluated.") logger.info("Model is not being evaluated.")
......
# 5vlv6m3t: ITA instance from scratch (used to train LLT instance)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment