Comments (2)
Hello, I would like to know whether the 2, 5, 8-layer features mentioned in the paper refer to the actual 2, 5, 8 layers or the layers after processing with the UpSample block. Does it mean the results obtained after the UpSample block processing? I find it a bit challenging to understand the feature extraction in the code. I hope to receive your reply. Thank you!
I'm sorry for the oversight. I found a deficiency in my expression. By the layers processed through the upsampling module, I mean the layers counted from 1, specifically, layers 3, 6, and 9.
from sd-dino.
Hi,
Thanks for your interest in our work!
The index for the layer (2, 5, 8) is parsed into the load_model()
function in the extractor_sd.py file and then serve as the argument unet_block_indices
for the feature extractor.
Then, you can check the exact implementation of how the features are extracted in the file ldm.py by searching for the key unet_block_indices
.
Hope this could be helpful and feel free to put any questions for more details!
from sd-dino.
Related Issues (16)
- get_mask cannot return valid mask HOT 3
- Installation issues for Mask Former HOT 2
- Result different from demo_vis_features.ipynb HOT 4
- License? HOT 1
- The image size for extracting the Dinov2-pretrained-model HOT 2
- Establish environment HOT 3
- Model parameter mismatch HOT 2
- Collab Demo HOT 1
- Code for PCA HOT 3
- Object Swapping (with refinement process) HOT 2
- how to fix the issue of 'RuntimeError: Panoptic/odise_label_coco_50e.py not available in Model Zoo!' HOT 7
- cannot `get_mask` when I vary the cuda device HOT 3
- ValueError: a must be greater than 0 unless no samples are taken HOT 5
- AttributeError: module 'keras.backend' has no attribute 'is_tensor' HOT 3
- Details about how to extract sd features HOT 1
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 sd-dino.