Comments (5)
Have you solved ? I meet the same issue.
from datasetdm.
Have you solved ? I meet the same issue.
No, I haven't solved. Now I am trying to replace the Unet and cross attention part with the single CNN part, I wonder maybe the Unet part has problems
from datasetdm.
I have solved the problems above today, by changing several codes. Firstly, the diffusers in requirement.txt is not 0.14.2. You may download the 0.10.2 in model and tap into the diffuser folder in the code
and run "pip install ." to install diffuser 0.10.2.
Then the unet_2D_block.py has some problems. Especially the CrossAttnUp and Upsample block. You can refer to the CrossAttnDown and DownSample to change the code forward part.
Then the training code needs several changes. Later I will update the code I changed. I also test the final result, the decorder can perform well.
from datasetdm.
Hi there, thank you for opening up this issue and I encountered the same problem.
Would you mind sharing the code for fixing the problem? Thank you so much!
from datasetdm.
Hi guys,
Thank you for your assistance. I resolved the issue by referring to this comment.
The problem was due to a mismatch of the UNet blocks from diffusers. In newer versions, the "CrossAttention" module has been replaced with "Attention".
Thank you all again for your help!
from datasetdm.
Related Issues (20)
- question about coco dataset code HOT 2
- Training not working. HOT 4
- gt_classes in VOC2012.py HOT 4
- ./DataDiffusion/COCO_Train_5_images_t1_10layers_NoClass/Image/ HOT 1
- prompt txt files HOT 1
- About prompt in NYU dataset
- No module named 'torch.distributed.algorithms.join
- Accelerate training via training on multiple gpus HOT 1
- Weights about Depth Estimation
- CUDA out of memory - on 12 GB GPU
- Can't reproduce the results in other COCO-format instance segmentation dataset HOT 3
- exception when trying to generate data HOT 5
- generate_instance_coco HOT 2
- doing data augmentation with coco2017 dataset but no image or mask generate
- prepare NYU dataset
- adapt the synthetic data to Mask2Fomer model HOT 5
- dataset mode not defined while training HOT 1
- Error in init_latent in ptp_utils.py during training
- 在VOC2012.py中gt_classes为什么是1而不是select_class?
- Why is mapper_classes = [1] in VOC2012.py?
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 datasetdm.