fix imports
Browse files- .ipynb_checkpoints/app-checkpoint.py +0 -3
- .ipynb_checkpoints/requirements-checkpoint.txt +6 -0
- app.py +0 -3
- requirements.txt +2 -0
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
from fasterbench.benchmark import *
|
2 |
-
import torch
|
3 |
import gradio as gr
|
4 |
-
import os
|
5 |
import plotly
|
6 |
|
7 |
# %% ../nbs/00_benchmark.ipynb 5
|
@@ -12,7 +10,6 @@ import numpy as np
|
|
12 |
import os
|
13 |
from thop import profile, clever_format
|
14 |
from tqdm.notebook import tqdm
|
15 |
-
from prettytable import PrettyTable
|
16 |
from torchprofile import profile_macs
|
17 |
|
18 |
# %% ../nbs/00_benchmark.ipynb 7
|
|
|
1 |
from fasterbench.benchmark import *
|
|
|
2 |
import gradio as gr
|
|
|
3 |
import plotly
|
4 |
|
5 |
# %% ../nbs/00_benchmark.ipynb 5
|
|
|
10 |
import os
|
11 |
from thop import profile, clever_format
|
12 |
from tqdm.notebook import tqdm
|
|
|
13 |
from torchprofile import profile_macs
|
14 |
|
15 |
# %% ../nbs/00_benchmark.ipynb 7
|
.ipynb_checkpoints/requirements-checkpoint.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
fasterbench
|
2 |
+
torch
|
3 |
+
plotly
|
4 |
+
codecarbon
|
5 |
+
torchprofile
|
6 |
+
thop
|
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
from fasterbench.benchmark import *
|
2 |
-
import torch
|
3 |
import gradio as gr
|
4 |
-
import os
|
5 |
import plotly
|
6 |
|
7 |
# %% ../nbs/00_benchmark.ipynb 5
|
@@ -12,7 +10,6 @@ import numpy as np
|
|
12 |
import os
|
13 |
from thop import profile, clever_format
|
14 |
from tqdm.notebook import tqdm
|
15 |
-
from prettytable import PrettyTable
|
16 |
from torchprofile import profile_macs
|
17 |
|
18 |
# %% ../nbs/00_benchmark.ipynb 7
|
|
|
1 |
from fasterbench.benchmark import *
|
|
|
2 |
import gradio as gr
|
|
|
3 |
import plotly
|
4 |
|
5 |
# %% ../nbs/00_benchmark.ipynb 5
|
|
|
10 |
import os
|
11 |
from thop import profile, clever_format
|
12 |
from tqdm.notebook import tqdm
|
|
|
13 |
from torchprofile import profile_macs
|
14 |
|
15 |
# %% ../nbs/00_benchmark.ipynb 7
|
requirements.txt
CHANGED
@@ -2,3 +2,5 @@ fasterbench
|
|
2 |
torch
|
3 |
plotly
|
4 |
codecarbon
|
|
|
|
|
|
2 |
torch
|
3 |
plotly
|
4 |
codecarbon
|
5 |
+
torchprofile
|
6 |
+
thop
|