Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,257 changes: 5,257 additions & 0 deletions examples/Image_Classification_Examples/XWhy_Image_classification.ipynb

Large diffs are not rendered by default.

1,788 changes: 1,788 additions & 0 deletions examples/Image_Classification_Examples/XWhy_Image_classification.py

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions examples/Image_Classification_Examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
numpy~=2.0.2
pandas~=2.2.2
scipy~=1.16.3
transformers~=4.57.2
torch~=2.9.0
torchvision~=0.24.0
scikit-image~=0.25.2
scikit-learn~=1.6.1
pillow~=11.3.0
matplotlib~=3.10.0
tqdm~=4.67.1
3 changes: 3 additions & 0 deletions examples/Pix2Pix_Instruct/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GEMINI_API_KEY="YOUR-API-KEY"
OPENAI_API_KEY="YOUR-API-KEY"
ARK_API_KEY="YOUR-API-KEY"
4,638 changes: 3,999 additions & 639 deletions examples/Pix2Pix_Instruct/SMILE_for_Instruction_based_Image_Editing.ipynb

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions examples/Pix2Pix_Instruct/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[project]
name = "pix2pix"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"accelerate~=1.12.0",
"diffusers~=0.35.2",
"gensim~=4.4.0",
"google-genai~=1.54.0",
"img2img-turbo~=0.0.1",
"kaleido>=1.2.0",
"matplotlib~=3.10.0",
"numpy~=2.0.2",
"openai>=2.11.0",
"opencv-python~=4.12.0.88",
"pandas~=2.2.2",
"pillow~=11.3.0",
"plotly>=6.5.0",
"pot~=0.9.6",
"python-dotenv~=1.2.1",
"requests~=2.32.4",
"safetensors~=0.7.0",
"scikit-learn~=1.6.1",
"scipy~=1.16.3",
"sentence-transformers~=5.1.2",
"tiktoken~=0.12.0",
"torch~=2.9.0",
"torchvision~=0.24.0",
"transformers~=4.57.2",
"xgboost~=3.1.2",
]
13 changes: 12 additions & 1 deletion examples/Pix2Pix_Instruct/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,15 @@ opencv-python~=4.12.0.88
scikit-learn~=1.6.1
matplotlib~=3.10.0
gensim~=4.4.0
pot~=0.9.6
pot~=0.9.6
python-dotenv~=1.2.1
google-genai~=1.55.0
xgboost~=3.1.2
openai~=2.11.0
tiktoken~=0.12.0
accelerate~=1.12.0
diffusers~=0.35.2
safetensors~=0.7.0
torchvision~=0.24.0
plotly~=6.5.0
kaleido~=1.2.0
Loading
Loading