autoforge 1.2.0__tar.gz → 1.2.1__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.2.0 → autoforge-1.2.1}/PKG-INFO +4 -15
- {autoforge-1.2.0 → autoforge-1.2.1}/README.md +3 -13
- {autoforge-1.2.0 → autoforge-1.2.1}/pyproject.toml +2 -3
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/PKG-INFO +4 -15
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/requires.txt +0 -1
- {autoforge-1.2.0 → autoforge-1.2.1}/setup.cfg +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/SOURCES.txt +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/dependency_links.txt +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/entry_points.txt +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/AutoForge.egg-info/top_level.txt +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/FilamentHelper.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/ImageHelper.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/OptimizerHelper.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/OutputHelper.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/PruningHelper.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Helper/__init__.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Loss/LossFunctions.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Loss/PerceptionLoss.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Loss/__init__.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Modules/Optimizer.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/Modules/__init__.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/__init__.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/__main__.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/auto_forge.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/auto_forge_gradio.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/color_fit_bayesian.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/filamentcolors_library.py +0 -0
- {autoforge-1.2.0 → autoforge-1.2.1}/src/autoforge/old_jax_files.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: AutoForge
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: AutoForge is a Python tool for generating 3D printed layered models from an input image.
|
|
5
5
|
Author-email: Hendric Voss <hvoss@techfak.uni-bielefeld.de>
|
|
6
6
|
License: CC BY-NC-SA 4.0
|
|
@@ -16,7 +16,6 @@ Requires-Dist: tqdm>=4.50.0
|
|
|
16
16
|
Requires-Dist: pandas>=1.1.0
|
|
17
17
|
Requires-Dist: scikit-image
|
|
18
18
|
Requires-Dist: scikit-learn
|
|
19
|
-
Requires-Dist: optax>=0.1.3
|
|
20
19
|
|
|
21
20
|
# AutoForge
|
|
22
21
|
|
|
@@ -60,7 +59,7 @@ I would love to see what you made!
|
|
|
60
59
|
## Features
|
|
61
60
|
|
|
62
61
|
- **Image-to-Model Conversion**: Converts an input image into a layered model suitable for 3D printing.
|
|
63
|
-
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using
|
|
62
|
+
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using PyTorch.
|
|
64
63
|
- **Gumbel Softmax Sampling**: Leverages the Gumbel softmax method to decide material assignments for each layer.
|
|
65
64
|
- **STL File Generation**: Exports an ASCII STL file based on the optimized height map.
|
|
66
65
|
- **Swap Instructions**: Generates clear swap instructions for changing materials during printing.
|
|
@@ -75,17 +74,6 @@ To install AutoForge, simply install the current version from PyPI:
|
|
|
75
74
|
pip install autoforge
|
|
76
75
|
```
|
|
77
76
|
|
|
78
|
-
The optimizer is built using JAX, which benefits from a CUDA-compatible GPU for optimal performance. \
|
|
79
|
-
Without a dedicated GPU the process can take significantly longer (up to 10-20x slower). \
|
|
80
|
-
If you have a GPU, you can install the GPU version of autoforge by running:\
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
pip install autoforge[gpu]
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
Currently, jax gpu support is only available under linux. \
|
|
87
|
-
If you use Windows, please install WSL2 to use the GPU version of jax.
|
|
88
|
-
|
|
89
77
|
## Usage
|
|
90
78
|
|
|
91
79
|
The script is run from the command line and accepts several arguments. Below is an example command:
|
|
@@ -126,6 +114,7 @@ autoforge --input_image path/to/input_image.jpg --csv_file path/to/materials.csv
|
|
|
126
114
|
- `--pruning_max_swaps`: Max number of swaps allowed after pruning (default: 20).
|
|
127
115
|
- `--random_seed`: Random seed for reproducibility (default: 0 (disabled) ).
|
|
128
116
|
|
|
117
|
+
|
|
129
118
|
## Outputs
|
|
130
119
|
|
|
131
120
|
After running, the following files will be created in your specified output folder:
|
|
@@ -162,7 +151,7 @@ Without it, this project would not have been possible.
|
|
|
162
151
|
|
|
163
152
|
AutoForge makes use of several open source libraries:
|
|
164
153
|
|
|
165
|
-
- [
|
|
154
|
+
- [PyTorch](https://pytorch.org/)
|
|
166
155
|
- [Optax](https://github.com/deepmind/optax)
|
|
167
156
|
- [OpenCV](https://opencv.org/)
|
|
168
157
|
- [Matplotlib](https://matplotlib.org/)
|
|
@@ -40,7 +40,7 @@ I would love to see what you made!
|
|
|
40
40
|
## Features
|
|
41
41
|
|
|
42
42
|
- **Image-to-Model Conversion**: Converts an input image into a layered model suitable for 3D printing.
|
|
43
|
-
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using
|
|
43
|
+
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using PyTorch.
|
|
44
44
|
- **Gumbel Softmax Sampling**: Leverages the Gumbel softmax method to decide material assignments for each layer.
|
|
45
45
|
- **STL File Generation**: Exports an ASCII STL file based on the optimized height map.
|
|
46
46
|
- **Swap Instructions**: Generates clear swap instructions for changing materials during printing.
|
|
@@ -55,17 +55,6 @@ To install AutoForge, simply install the current version from PyPI:
|
|
|
55
55
|
pip install autoforge
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
The optimizer is built using JAX, which benefits from a CUDA-compatible GPU for optimal performance. \
|
|
59
|
-
Without a dedicated GPU the process can take significantly longer (up to 10-20x slower). \
|
|
60
|
-
If you have a GPU, you can install the GPU version of autoforge by running:\
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
pip install autoforge[gpu]
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Currently, jax gpu support is only available under linux. \
|
|
67
|
-
If you use Windows, please install WSL2 to use the GPU version of jax.
|
|
68
|
-
|
|
69
58
|
## Usage
|
|
70
59
|
|
|
71
60
|
The script is run from the command line and accepts several arguments. Below is an example command:
|
|
@@ -106,6 +95,7 @@ autoforge --input_image path/to/input_image.jpg --csv_file path/to/materials.csv
|
|
|
106
95
|
- `--pruning_max_swaps`: Max number of swaps allowed after pruning (default: 20).
|
|
107
96
|
- `--random_seed`: Random seed for reproducibility (default: 0 (disabled) ).
|
|
108
97
|
|
|
98
|
+
|
|
109
99
|
## Outputs
|
|
110
100
|
|
|
111
101
|
After running, the following files will be created in your specified output folder:
|
|
@@ -142,7 +132,7 @@ Without it, this project would not have been possible.
|
|
|
142
132
|
|
|
143
133
|
AutoForge makes use of several open source libraries:
|
|
144
134
|
|
|
145
|
-
- [
|
|
135
|
+
- [PyTorch](https://pytorch.org/)
|
|
146
136
|
- [Optax](https://github.com/deepmind/optax)
|
|
147
137
|
- [OpenCV](https://opencv.org/)
|
|
148
138
|
- [Matplotlib](https://matplotlib.org/)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "AutoForge"
|
|
7
|
-
version="1.2.
|
|
7
|
+
version="1.2.1"
|
|
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"
|
|
@@ -20,8 +20,7 @@ dependencies = [
|
|
|
20
20
|
"tqdm>=4.50.0",
|
|
21
21
|
"pandas>=1.1.0",
|
|
22
22
|
"scikit-image",
|
|
23
|
-
"scikit-learn"
|
|
24
|
-
"optax>=0.1.3"
|
|
23
|
+
"scikit-learn"
|
|
25
24
|
]
|
|
26
25
|
|
|
27
26
|
[tool.setuptools]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: AutoForge
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: AutoForge is a Python tool for generating 3D printed layered models from an input image.
|
|
5
5
|
Author-email: Hendric Voss <hvoss@techfak.uni-bielefeld.de>
|
|
6
6
|
License: CC BY-NC-SA 4.0
|
|
@@ -16,7 +16,6 @@ Requires-Dist: tqdm>=4.50.0
|
|
|
16
16
|
Requires-Dist: pandas>=1.1.0
|
|
17
17
|
Requires-Dist: scikit-image
|
|
18
18
|
Requires-Dist: scikit-learn
|
|
19
|
-
Requires-Dist: optax>=0.1.3
|
|
20
19
|
|
|
21
20
|
# AutoForge
|
|
22
21
|
|
|
@@ -60,7 +59,7 @@ I would love to see what you made!
|
|
|
60
59
|
## Features
|
|
61
60
|
|
|
62
61
|
- **Image-to-Model Conversion**: Converts an input image into a layered model suitable for 3D printing.
|
|
63
|
-
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using
|
|
62
|
+
- **Learned Optimization**: Optimizes per-pixel height and per-layer material assignments using PyTorch.
|
|
64
63
|
- **Gumbel Softmax Sampling**: Leverages the Gumbel softmax method to decide material assignments for each layer.
|
|
65
64
|
- **STL File Generation**: Exports an ASCII STL file based on the optimized height map.
|
|
66
65
|
- **Swap Instructions**: Generates clear swap instructions for changing materials during printing.
|
|
@@ -75,17 +74,6 @@ To install AutoForge, simply install the current version from PyPI:
|
|
|
75
74
|
pip install autoforge
|
|
76
75
|
```
|
|
77
76
|
|
|
78
|
-
The optimizer is built using JAX, which benefits from a CUDA-compatible GPU for optimal performance. \
|
|
79
|
-
Without a dedicated GPU the process can take significantly longer (up to 10-20x slower). \
|
|
80
|
-
If you have a GPU, you can install the GPU version of autoforge by running:\
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
pip install autoforge[gpu]
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
Currently, jax gpu support is only available under linux. \
|
|
87
|
-
If you use Windows, please install WSL2 to use the GPU version of jax.
|
|
88
|
-
|
|
89
77
|
## Usage
|
|
90
78
|
|
|
91
79
|
The script is run from the command line and accepts several arguments. Below is an example command:
|
|
@@ -126,6 +114,7 @@ autoforge --input_image path/to/input_image.jpg --csv_file path/to/materials.csv
|
|
|
126
114
|
- `--pruning_max_swaps`: Max number of swaps allowed after pruning (default: 20).
|
|
127
115
|
- `--random_seed`: Random seed for reproducibility (default: 0 (disabled) ).
|
|
128
116
|
|
|
117
|
+
|
|
129
118
|
## Outputs
|
|
130
119
|
|
|
131
120
|
After running, the following files will be created in your specified output folder:
|
|
@@ -162,7 +151,7 @@ Without it, this project would not have been possible.
|
|
|
162
151
|
|
|
163
152
|
AutoForge makes use of several open source libraries:
|
|
164
153
|
|
|
165
|
-
- [
|
|
154
|
+
- [PyTorch](https://pytorch.org/)
|
|
166
155
|
- [Optax](https://github.com/deepmind/optax)
|
|
167
156
|
- [OpenCV](https://opencv.org/)
|
|
168
157
|
- [Matplotlib](https://matplotlib.org/)
|
|
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
|
|
File without changes
|
|
File without changes
|