Image-to-Image
Diffusers
Safetensors
flux
semantic-segmentation
instance-segmentation
referring-segmentation
depth-estimation
surface-normal-estimation
image-editing
text-to-image
Instructions to use FunAILab/Open-Vision-Banana with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FunAILab/Open-Vision-Banana with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FunAILab/Open-Vision-Banana", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Zero-shot 9B: record the final 100K steps in training_args.json and note the staged extension
Browse files- README.md +1 -0
- final_models/9B/zeroshot/training_args.json +1 -1
README.md
CHANGED
|
@@ -37,6 +37,7 @@ Outputs of the zero-shot 9B model on an in-the-wild photo, with the summarised p
|
|
| 37 |
## 📦 Checkpoints
|
| 38 |
|
| 39 |
- `final_models/{4B,9B}/{zeroshot,nonzeroshot}/`: the fine-tuned transformers for both base sizes. The zero-shot models are trained without the training splits of the evaluation benchmarks, and the non-zero-shot models include them. Each folder holds the intermediate `checkpoint-<step>` exports and the weight-averaged checkpoint used in the paper, each as a `transformer/` subfolder.
|
|
|
|
| 40 |
- `ablation_models/`: one checkpoint per ablation setting of the paper, and the LoRA adapters described at the bottom of this page.
|
| 41 |
|
| 42 |
## 🚀 Quickstart
|
|
|
|
| 37 |
## 📦 Checkpoints
|
| 38 |
|
| 39 |
- `final_models/{4B,9B}/{zeroshot,nonzeroshot}/`: the fine-tuned transformers for both base sizes. The zero-shot models are trained without the training splits of the evaluation benchmarks, and the non-zero-shot models include them. Each folder holds the intermediate `checkpoint-<step>` exports and the weight-averaged checkpoint used in the paper, each as a `transformer/` subfolder.
|
| 40 |
+
- The zero-shot 9B run was extended in stages from 50K to 100K steps. Its `training_args.json` is the configuration of the last resume, with `max_train_steps` set to the final 100K.
|
| 41 |
- `ablation_models/`: one checkpoint per ablation setting of the paper, and the LoRA adapters described at the bottom of this page.
|
| 42 |
|
| 43 |
## 🚀 Quickstart
|
final_models/9B/zeroshot/training_args.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"max_grad_norm": 1.0,
|
| 66 |
"max_refseg_expressions_per_image": 2000000,
|
| 67 |
"max_sequence_length": 512,
|
| 68 |
-
"max_train_steps":
|
| 69 |
"metric_depth_aux_max_depth": 80.0,
|
| 70 |
"metric_depth_aux_weight": 0.0,
|
| 71 |
"mixed_precision": "bf16",
|
|
|
|
| 65 |
"max_grad_norm": 1.0,
|
| 66 |
"max_refseg_expressions_per_image": 2000000,
|
| 67 |
"max_sequence_length": 512,
|
| 68 |
+
"max_train_steps": 100000,
|
| 69 |
"metric_depth_aux_max_depth": 80.0,
|
| 70 |
"metric_depth_aux_weight": 0.0,
|
| 71 |
"mixed_precision": "bf16",
|