Update pages/01_🦷 Segment.py
Browse files- pages/01_🦷 Segment.py +7 -5
pages/01_🦷 Segment.py
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
-
from streamlit import session_state as session
|
2 |
import shutil
|
3 |
-
|
4 |
import os
|
|
|
5 |
import numpy as np
|
6 |
from sklearn import neighbors
|
7 |
from scipy.spatial import distance_matrix
|
8 |
from pygco import cut_from_graph
|
9 |
-
import streamlit_ext as ste
|
10 |
import open3d as o3d
|
11 |
import matplotlib.pyplot as plt
|
12 |
import matplotlib.colors as mcolors
|
13 |
from stqdm import stqdm
|
14 |
import json
|
|
|
|
|
15 |
from stpyvista import stpyvista
|
|
|
16 |
import torch
|
17 |
import torch.nn as nn
|
18 |
-
from torch.autograd import Variable
|
19 |
import torch.nn.functional as F
|
|
|
|
|
20 |
import streamlit as st
|
21 |
-
import pyvista as pv
|
22 |
|
|
|
23 |
from PIL import Image
|
24 |
|
25 |
class TeethApp:
|
|
|
|
|
1 |
import shutil
|
|
|
2 |
import os
|
3 |
+
|
4 |
import numpy as np
|
5 |
from sklearn import neighbors
|
6 |
from scipy.spatial import distance_matrix
|
7 |
from pygco import cut_from_graph
|
|
|
8 |
import open3d as o3d
|
9 |
import matplotlib.pyplot as plt
|
10 |
import matplotlib.colors as mcolors
|
11 |
from stqdm import stqdm
|
12 |
import json
|
13 |
+
|
14 |
+
import pyvista as pv
|
15 |
from stpyvista import stpyvista
|
16 |
+
|
17 |
import torch
|
18 |
import torch.nn as nn
|
|
|
19 |
import torch.nn.functional as F
|
20 |
+
from torch.autograd import Variable
|
21 |
+
|
22 |
import streamlit as st
|
|
|
23 |
|
24 |
+
from streamlit import session_state as session
|
25 |
from PIL import Image
|
26 |
|
27 |
class TeethApp:
|