Comments (2)
self.face_transform = transforms.Compose([
transforms.RandomResizedCrop(
224, scale=(0.5, 1.0), ratio=(0.8, 1.2), interpolation=transforms.InterpolationMode.BICUBIC
),
transforms.RandomHorizontalFlip(),
transforms.RandomApply(
[transforms.ColorJitter(brightness=0.4, contrast=0.4, saturation=0.2, hue=0.1)], p=0.8,
),
transforms.RandomGrayscale(p=0.2),
transforms.RandomApply([transforms.GaussianBlur(kernel_size=7)], p=0.2),
transforms.RandomSolarize(threshold=128, p=0.2),
])
from ip-adapter.
from ip-adapter.
Related Issues (20)
- ImportError: cannot import name 'ValidationInfo' from 'pydantic' HOT 1
- Traning Code for SD2.1
- How should I go about training the ip adapter plus sdxl for inpainting by providing it a reference image ?
- How to use ip-adapter-faceid-portrait_sdxl.bin
- hunyuan-dit version of the ip adapter
- Question about "ip-adapter_sd15_light.safetensors"
- Question - How to generate depth map image
- How to generate side view human accurately
- A preprocessor ip adapter clip sd15 is missing HOT 2
- Question on adding IP-Adapter on SD3 HOT 1
- How should I resolve an error when I reach this step? HOT 1
- is it" ipadapter mad scientist "does not work in 1.5model?
- question about cross attention
- questions about training
- Generating undersaturated images
- train IP-Adapter with Kolors?
- train IP-Adapter based on Kolors ?
- Question about the [Scale] Parameter
- Custom Foreground in Custom Background using 'SD-XL Inpaint'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ip-adapter.