Instructions to use Yodazon/3DPrintFailureType with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yodazon/3DPrintFailureType with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="Yodazon/3DPrintFailureType")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Yodazon/3DPrintFailureType", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
This model is to help determine the type of problem a 3D print has.
|
|
|
|
| 5 |
|
| 6 |
The model trained on images of 3D prints as they are printing as well as post printing.
|
| 7 |
Training set of images is about ~5GB
|
|
@@ -41,5 +45,4 @@ def preProcess(image):
|
|
| 41 |
|
| 42 |
input_image = transform(image).unsqueeze(0)
|
| 43 |
return input_image
|
| 44 |
-
```
|
| 45 |
-
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: image-to-text
|
| 6 |
---
|
| 7 |
This model is to help determine the type of problem a 3D print has.
|
| 8 |
+
The model uses AlexNet CNN Architecture built using PyTorch
|
| 9 |
|
| 10 |
The model trained on images of 3D prints as they are printing as well as post printing.
|
| 11 |
Training set of images is about ~5GB
|
|
|
|
| 45 |
|
| 46 |
input_image = transform(image).unsqueeze(0)
|
| 47 |
return input_image
|
| 48 |
+
```
|
|
|