GitHub Hot Board

GitHub Hot Board · 저장소 아카이브

dumengze/DF5T

이 언어 소개가 아직 없습니다. 수집되면 자동 표시됩니다.

데이터 기준 October 24dumengze

최고 순위

#226

과소평가 · 활발한데 무명

100

누적 스타

21

포크 수

1

최근 30일 기록 일수

라이선스: 미확인최근 push: 미확인열린 이슈(PR 포함): 미확인2026-10-25부터 수집. 미확인 = 아직 미수집

프로젝트 문서

Diffusion-based foundation model for 5 task(DF5T)

User Interface for DF5T

  1. Download the Finetuned Models

You can download the finetuned models and the examples of DF5T from https://huggingface.co/dumengze/DF5T.

tasks/
    deno_em/
    sr2/
    deblur_em/
    inpaint_em/
    isotropic_em/
  1. Install Packages
  • Python 3.8
  • Pytorch 2.0.1, CUDA 11.7 and CUDNN
  • Python Packages:

You can install the required python packages by the following command:

conda create -n DF5T python=3.8
conda activate DF5T
pip install -r requirements.txt
  1. Run the Web Interface

You can run the interactive software with the following command:

python app.py

You can learn how to use the app through https://youtu.be/GrUuY4oedGE. See the instructions in the image below.

Train

python /guided-diffusion-main/scripts/image_train.py

Test

1. Prepare the datasets

  1. All training and test data involved in the experiments are publicly available datasets. You can download our preprocessed data from Science Data Bank, ScienceDB and unzip them into the corresponding folders.

  2. If your data is three-dimensional, preprocess it using the following code:

python pre/train.py
  1. To preprocess 2D data, use the following code:
python pre/enhance.py
  1. The dataset structure should be as follows:
exp
    datasets
            MitEM/MitEM
  1. Use the following code to implement each task:

Denoise

python main.py --ni --config DF5T_512.yml --timesteps 50 --deg deno_em --sigma_0 0.2

Super resolution

python main.py --ni --config DF5T_512.yml --timesteps 50 --deg sr2 --sigma_0 0.2

Deblur

python main.py --ni --config DF5T_512.yml --timesteps 50 --deg deblur_em --sigma_0 0.2

2D-Inpaint

python main.py --ni --config DF5T_512.yml --timesteps 50 --deg inp_em --sigma_0 0.2

3D-Isotropic

python main.py --ni --config DF5T_512.yml --timesteps 50 --deg isotropic_em --sigma_0 0.2

현재 순위

  • 226

    과소평가 · 활발한데 무명

    100 스타 · 21 fork · 총 스타 수(오름차순)

    과소평가 →

최근 30일 추이

누적 스타 추이

순위 추이

README에 뱃지를 붙여보세요 · dumengze/DF5T[![README에 뱃지를 붙여보세요](https://git.vaiox.xyz/api/badge/dumengze/DF5T.svg)](https://git.vaiox.xyz/ko/repo/dumengze/DF5T)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/ko/repo/dumengze/DF5T"><img src="https://git.vaiox.xyz/api/badge/dumengze/DF5T.svg" alt="README에 뱃지를 붙여보세요" height="20"></a>

← 랭킹으로

GitHub Hot Board타임머신발견联系我们 · Contact