Yu Chen

Results 56 comments of Yu Chen

![image](https://github.com/chairc/Industrial-Defect-Diffusion-Model/assets/43342212/cc458dee-ea88-4d07-8e2d-10185382d5ce)

加一下群,我们群里交流,949120343

**Question 1:** What is the purpose of this project? What significance does it have? **Answer:** This project is a reimplementation of DDPM (Diffusion Probabilistic Models) and DDIM (Diffusion Denoising Implicit...

**Question 2:** How should I choose appropriate parameters during training? **Answer:** In the `tools/train.py` file, you can customize the values in `argparse`. For specific training parameters, refer to the [Parameter...

**Question 3:** How can I accelerate image generation during training? **Answer:** Use `--sample ddim`. **问题3**:我该如何在训练时加速图像生成? **回答**:`--sample`设置为`ddim`

**Question 4:** Why am I encountering numerous CUDA or cuDNN errors such as `THCudaCheck FAIL file=../aten/src/THC/THCCachingHostAllocator.cpp` or `RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR` during training? **Answer:** Check whether the `--num_classes` value in...

**Question 5:** Why do I see noise issues in the generated images? **Answer:** The appearance of noise is often due to a mismatch between the current model configuration and the...

**Question 6:** How should the dataset be divided? How to set up conditional and unconditional training? **Answer:** You can store the dataset anywhere on your computer; just set `--dataset_path` accordingly....

**Question 7:** The training was interrupted unexpectedly. How can I resume training? **Answer:** Don't worry, the trainer provides a resume training feature with detailed parameters `--resume` and `--start_epoch`. For resuming...

**Question 8**: The training time for each epoch is too long. How can I use a pretrained model? **Answer**: Pretrained models are released with each major version `Release`. Please stay...