File size: 751 Bytes
fe26a1a
 
7d93fb8
 
 
 
 
fe26a1a
7d93fb8
 
 
fc9c286
 
fe26a1a
fc9c286
fe26a1a
 
fc9c286
fe26a1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
print('import start')

# Adaptive submission (submit.py): held-out fleets get ONE model fitted on the
# foreign train pool per split (phase 24b); train-fleet splits refit at every
# scenario origin on their own self-masked history. Falls back internally to
# the static pickled planner in batteryswap_example/planners/best.pickle per
# split.

# ensure classes referenced by the fallback pickle are importable (the current
# pickle records importable paths; a train.py-written one needs its classes
# star-imported into __main__)
from batteryswap_example.train import *  # noqa: F401,F403
from batteryswap_example import planner  # noqa: F401

from batteryswap_example.submit import main

if __name__ == '__main__':
    print('main start')
    main()