Comments (10)
Hello, as you correctly mentioned 10 is the number of the denoising steps. In the code it can be calculated based on "test_trajectoy_steps" and "skip" in the config file. Where "test_trajectoy_steps: 250" means the starting point (T' = 250) and "skip" means the denoising step size we take at each denoising iteration. Mathematically n= test_trajectoy_steps / skip.
from ddad.
Thank you for your answer.I'll take a closer look at the code.
from ddad.
We utilize the DDIM sampler which allows for the generation of samples without the need to take all 1000 steps. In our model, during inference, the initial noisy step is 250 (referred as test_trajectoy_steps in the config file) which is a more suitable noise-to-signal ratio.
Note that during training, all 1000 steps (referred as trajectory_steps) are executed.
from ddad.
Hello, I visualized the reconstructed image in the reconstruction part of your code, but I found that the reconstructed image did not have much repair, and there was still a big anomaly. I did the above operation in the bottle dataset. Could you give me a solution?
from ddad.
Decreasing the Value of w would result in better reconstruction of the anomalous part.
from ddad.
OK, thank you for your answer, it does have a very good effect, but it does not seem to achieve the most perfect repair effect. It still feels flawed to the naked eye, but it is enough for anomaly detection, perhaps because the abnormal part is too serious to achieve an almost perfect repair effect. I only made observations on the bottle dataset.
from ddad.
Great. If your are using DDAD-S just scaling the model to higher number of parameters will help. However, though we aimed for a cohesive visual reconstruction, it is worth to note that at the end the anomaly score is calculated based on the deviation of the reconstruction from the input image. It means that only keeping then normal pattern of the input image, while having deviation in anomalous part will result in anomaly detection. The conditioning mechanism essentially aims for keeping the normal behavior of the image.
Hope this explanation helps to map out the correlation between reconstruction and anomaly detection.
from ddad.
Hello, I would like to ask, will DDAD have a significant improvement over DDAD-S in the effect of reconstruction?
from ddad.
Hi, DDAD can reconstruct details with greater precision, resulting in a better anomaly score.
from ddad.
OK, thank you very much.
from ddad.
Related Issues (20)
- Why nothing happens when running eval HOT 2
- Question about the initilization of "ch" in UNetModel.__init__() HOT 3
- I can not reproduce your results by using the uploaded checkpoints HOT 3
- How to set w_DA in Domain Adaptation? HOT 1
- Simple version of patchify()
- Can I train my own dataset?
- ModuleNotFoundError: No module named 'omegaconf'
- why am i not really training...... HOT 1
- Question about the precision HOT 3
- Question in making heat map HOT 2
- 為啥算異常評分不是用x0與x算 而是用y呢 怪怪唷
- img_size = 512 and change channel will report an error HOT 2
- Invalid load key HOT 3
- The AUROC value of the paper cannot be achieved using official checkpoints. HOT 6
- train HOT 2
- 我可以用自己的數據集嗎
- 我的檔案路徑可以用window寫法嗎
- The result cannot be achieved using official checkpoint. HOT 3
- 我用UBUNTU HOT 3
- results 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 ddad.