Files changed (1) hide show
  1. main.py +15 -0
main.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from aim import Run
2
+
3
+ # Initialize a new run
4
+ run = Run()
5
+
6
+ # Log run parameters
7
+ run["hparams"] = {
8
+ "learning_rate": 0.001,
9
+ "batch_size": 32
10
+ }
11
+
12
+ # Log metrics
13
+ for i in range(10):
14
+ run.track(i, name='loss', step=i, context={ "subset":"train" })
15
+ run.track(i, name='acc', step=i, context={ "subset":"train" })