forked from bkj/basenet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ubuntu
committed
Apr 21, 2018
1 parent
15ce63c
commit 49b2b61
Showing
7 changed files
with
161 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": "v1.0", | ||
"author": "bkj", | ||
"authorEmail": "ben@canfield.io", | ||
"framework": "pytorch", | ||
"codeURL": "https://github.com/bkj/basenet/tree/f1c30a95263346231cb7b0a6b77de4a3f44bc6b7/examples", | ||
"model": "Resnet18 + minor modifications", | ||
"hardware": "V100 (AWS p3.2xlarge)", | ||
"costPerHour": 3.060, | ||
"timestamp": "2018-04-20", | ||
"misc": { | ||
"comments" : "Hit 0.94 threshold in 4/5 runs. Reporting median run here." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
epoch hours top1Accuracy | ||
0 0.003508641587363349 55.55 | ||
1 0.006513937910397847 65.62 | ||
2 0.009536764687962003 74.83 | ||
3 0.012568767666816711 75.66000000000001 | ||
4 0.015597014096048143 79.17999999999999 | ||
5 0.018631390664312575 79.14999999999999 | ||
6 0.0216702620850669 83.65 | ||
7 0.024692272411452398 79.71000000000001 | ||
8 0.027740566465589735 83.78999999999999 | ||
9 0.030775602261225384 78.21000000000001 | ||
10 0.033793951206737095 85.15 | ||
11 0.03682645208305783 84.95 | ||
12 0.039851660993364124 81.04 | ||
13 0.04292301966084374 83.14 | ||
14 0.04596217632293701 82.11 | ||
15 0.04898762815528446 79.17999999999999 | ||
16 0.05204661183887058 84.98 | ||
17 0.055087420211897956 84.77 | ||
18 0.058125914070341324 85.28999999999999 | ||
19 0.061184588935640126 84.87 | ||
20 0.0642281475994322 85.64 | ||
21 0.06726788024107615 87.69 | ||
22 0.0703298607137468 89.58 | ||
23 0.07337968620989058 88.22 | ||
24 0.07640756865342459 88.81 | ||
25 0.07944716102547116 91.18 | ||
26 0.08250825656784905 91.39 | ||
27 0.08555183801386092 92.10000000000001 | ||
28 0.08858485188749102 93.14 | ||
29 0.09160958170890808 93.99 | ||
30 0.0946198488606347 94.08 | ||
31 0.09764599925941891 94.15 | ||
32 0.10066269311639997 94.19 | ||
33 0.1036933634016249 94.28 | ||
34 0.10669603122605217 94.3 | ||
35 0.10971194055345324 94.23 | ||
36 0.11277156300014919 94.31 | ||
37 0.115811897582478 94.3 | ||
38 0.11884934445222219 94.31 | ||
39 0.12188066297107272 94.34 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
import json | ||
import numpy as np | ||
from rsub import * | ||
from matplotlib import pyplot as plt | ||
|
||
def smart_json_loads(x): | ||
try: | ||
return json.loads(x)['test_acc'] | ||
except: | ||
pass | ||
|
||
all_data = [] | ||
for p in sys.argv[1:]: | ||
data = list(filter(None, map(smart_json_loads, open(p)))) | ||
_ = plt.plot(data, alpha=0.75, label=p) | ||
|
||
_ = plt.legend(loc='lower right') | ||
_ = plt.axhline(0.9, c='grey', alpha=0.5) | ||
_ = plt.axhline(0.94, c='grey', alpha=0.5) | ||
_ = plt.ylim(0, 1) | ||
_ = plt.xlim(0, 40) | ||
show_plot() |