Browse Source

commented out shield export call

refactoring
Thomas Knoll 1 year ago
parent
commit
d64f569499
  1. 2
      examples/shields/rl/15_train_eval_tune.py
  2. 2
      examples/shields/rl/shieldhandlers.py

2
examples/shields/rl/15_train_eval_tune.py

@ -139,7 +139,7 @@ def main():
ppo(args) ppo(args)
ray.shutdown()
if __name__ == '__main__': if __name__ == '__main__':
main() main()

2
examples/shields/rl/shieldhandlers.py

@ -69,7 +69,7 @@ class MiniGridShieldHandler(ShieldHandler):
action_dictionary[state_valuation] = actions_to_be_executed action_dictionary[state_valuation] = actions_to_be_executed
stormpy.shields.export_shield(model, shield, "Grid.shield")
# stormpy.shields.export_shield(model, shield, "Grid.shield")
return action_dictionary return action_dictionary

Loading…
Cancel
Save