# CrossHomo **Repository Path**: wangerniu/CrossHomo ## Basic Information - **Project Name**: CrossHomo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-30 - **Last Updated**: 2024-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CrossHomo ## 1.Requirements - Python >= 3.7 - Pytorch >= 0.4.1 - opencv-python - korina - matplotlib ## 2.Dataset After downloading DPDN and RGB-NIR Scene Dataset, please run ···generate_dataset_DPDN.py``` to generate .npy files for training and testing. ## 3.Training ### Train for 8x resolution gap Run the following command. ``` python train_SR_Homo_level3.py --name Level3 --dataset DPDN --batch_size 8 --downsample 8 --Level 3 --load_latest 0 ``` ### Train for 4x resolution gap Run the following command. ``` python train_SR_Homo_level2.py --name Level2 --dataset DPDN --batch_size 8 --downsample 4 --Level 2 --load_latest 0 ``` ## 4.Checkpoints 链接:https://pan.baidu.com/s/1_z6YI_BkEfyd7jXqj9QWmA?pwd=BuAa 提取码:BuAa