Denys Rozumnyi
commited on
Commit
·
814cf43
1
Parent(s):
3a187ef
Public release
Browse files- S23DR_report.pdf +0 -0
- geom_solver.py +12 -12
- main.ipynb +0 -0
S23DR_report.pdf
CHANGED
Binary files a/S23DR_report.pdf and b/S23DR_report.pdf differ
|
|
geom_solver.py
CHANGED
@@ -190,17 +190,17 @@ class GeomSolver(object):
|
|
190 |
print("Enough vertices.")
|
191 |
else:
|
192 |
vertices = centers
|
193 |
-
if self.repeat_predicted:
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
else:
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
self.vertices_aug = vertices
|
205 |
|
206 |
|
@@ -240,7 +240,7 @@ class GeomSolver(object):
|
|
240 |
uvs.append(uv)
|
241 |
|
242 |
edges = []
|
243 |
-
thresholds_min_mean = {0 : [5, 15], 1 : [20, 40], 2: [
|
244 |
# thresholds_min_mean = {0 : [1, 7], 1 : [3, 25], 2: [3, 1000]}
|
245 |
for i in range(pyt_centers.shape[0]):
|
246 |
for j in range(i+1, pyt_centers.shape[0]):
|
|
|
190 |
print("Enough vertices.")
|
191 |
else:
|
192 |
vertices = centers
|
193 |
+
# if self.repeat_predicted:
|
194 |
+
# while vertices.shape[0] < desired_vertices:
|
195 |
+
# vertices = np.concatenate((vertices, centers)) # [~self.is_apex]
|
196 |
+
# vertices = vertices[:desired_vertices]
|
197 |
+
# else:
|
198 |
+
# if self.mean_fixed:
|
199 |
+
# added_one = (desired_vertices * self.wf_center - self.vertices.sum(0)) / (desired_vertices - nvert)
|
200 |
+
# else:
|
201 |
+
# added_one = self.wf_center
|
202 |
+
# added = added_one[None].repeat(desired_vertices - nvert,0)
|
203 |
+
# vertices = np.concatenate((self.vertices, added))
|
204 |
self.vertices_aug = vertices
|
205 |
|
206 |
|
|
|
240 |
uvs.append(uv)
|
241 |
|
242 |
edges = []
|
243 |
+
thresholds_min_mean = {0 : [5, 15], 1 : [20, 40], 2: [50, 1000]}
|
244 |
# thresholds_min_mean = {0 : [1, 7], 1 : [3, 25], 2: [3, 1000]}
|
245 |
for i in range(pyt_centers.shape[0]):
|
246 |
for j in range(i+1, pyt_centers.shape[0]):
|
main.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|