autoforge 1.8.3__tar.gz → 1.8.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {autoforge-1.8.3 → autoforge-1.8.4}/PKG-INFO +1 -1
- {autoforge-1.8.3 → autoforge-1.8.4}/pyproject.toml +1 -1
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/PKG-INFO +1 -1
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/auto_forge.py +8 -5
- {autoforge-1.8.3 → autoforge-1.8.4}/README.md +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/setup.cfg +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/SOURCES.txt +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/dependency_links.txt +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/entry_points.txt +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/requires.txt +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/AutoForge.egg-info/top_level.txt +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/browser_gui/Views/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/browser_gui/Views/backend_database.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/browser_gui/Views/filament_editor.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/browser_gui/app.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Gui/browser_gui/main.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/CAdamW.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/FilamentHelper.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/ChristofidesHeightMap.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/DepthEstimateHeightMap.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/OldHeightmap.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/ImageHelper.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/OptimizerHelper.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/OutputHelper.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/PruningHelper.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/filamentcolors_library.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Init_comparer/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Init_comparer/auto_forge_init_check.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Init_comparer/plot_results.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Loss/LossFunctions.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Loss/PerceptionLoss.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Loss/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Misc/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Misc/color_fit_all.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Modules/Optimizer.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Modules/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/__init__.py +0 -0
- {autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/__main__.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "AutoForge"
|
|
7
|
-
version="1.8.
|
|
7
|
+
version="1.8.4"
|
|
8
8
|
description = "AutoForge is a Python tool for generating 3D printed layered models from an input image."
|
|
9
9
|
authors = [{ name = "Hendric Voss", email = "hvoss@techfak.uni-bielefeld.de" }]
|
|
10
10
|
readme = "README.md"
|
|
@@ -246,7 +246,7 @@ def parse_args():
|
|
|
246
246
|
return args
|
|
247
247
|
|
|
248
248
|
|
|
249
|
-
def
|
|
249
|
+
def start(args):
|
|
250
250
|
if args.num_init_cluster_layers == -1:
|
|
251
251
|
args.num_init_cluster_layers = args.max_layers // 2
|
|
252
252
|
|
|
@@ -485,13 +485,12 @@ def main(args):
|
|
|
485
485
|
print("Happy Printing!")
|
|
486
486
|
return final_loss
|
|
487
487
|
|
|
488
|
-
|
|
489
|
-
if __name__ == "__main__":
|
|
488
|
+
def main():
|
|
490
489
|
args = parse_args()
|
|
491
490
|
final_output_folder = args.output_folder
|
|
492
491
|
run_best_loss = 1000000000
|
|
493
492
|
if args.best_of == 1:
|
|
494
|
-
|
|
493
|
+
start(args)
|
|
495
494
|
else:
|
|
496
495
|
temp_output_folder = os.path.join(args.output_folder, "temp")
|
|
497
496
|
ret = []
|
|
@@ -501,7 +500,7 @@ if __name__ == "__main__":
|
|
|
501
500
|
run_folder = os.path.join(temp_output_folder, f"run_{i + 1}")
|
|
502
501
|
args.output_folder = run_folder
|
|
503
502
|
os.makedirs(args.output_folder, exist_ok=True)
|
|
504
|
-
run_loss =
|
|
503
|
+
run_loss = start(args)
|
|
505
504
|
print(f"Run {i + 1} finished with loss: {run_loss}")
|
|
506
505
|
if run_loss < run_best_loss:
|
|
507
506
|
run_best_loss = run_loss
|
|
@@ -532,3 +531,7 @@ if __name__ == "__main__":
|
|
|
532
531
|
dst_file = os.path.join(final_output_folder, file)
|
|
533
532
|
if os.path.isfile(src_file):
|
|
534
533
|
os.rename(src_file, dst_file)
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
if __name__ == "__main__":
|
|
537
|
+
main()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/ChristofidesHeightMap.py
RENAMED
|
File without changes
|
{autoforge-1.8.3 → autoforge-1.8.4}/src/autoforge/Helper/Heightmaps/DepthEstimateHeightMap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|