mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-03-12 20:35:31 +08:00
16 lines
337 B
Python
16 lines
337 B
Python
import argparse
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("train")
|
|
args = parser.parse_args()
|
|
|
|
if args.train:
|
|
from compressors import FloatCompressor, train
|
|
|
|
train(FloatCompressor(), 1, 32)
|
|
else:
|
|
from visualizer import app
|
|
|
|
app.run(debug=True)
|