【Hackathon 10th Spring No.14】SFIN模型复现#244
【Hackathon 10th Spring No.14】SFIN模型复现#244ADream-ki wants to merge 11 commits intoPaddlePaddle:developfrom
Conversation
|
Thanks for your contribution! |
|
辛苦提供数据集链接和模型预训练权重,并且补充相应的的readme文件 |
|
sfin模型并没有预训练权重,数据集应该是放到百度网盘吧? |
|
https://pan.baidu.com/s/11uT6O_SjJQ0tpk7U6IER1g?pwd=tbvc |
|
建议这个任务修改为Spectrum Enhancement(SE) |
There was a problem hiding this comment.
辛苦使用工厂函数的方式来加载数据集,另外数据集可以参考其他的数据集的格式,压缩为tar.gz格式,并且添加支持自动下载的功能,数据集可以分为训练,验证,测试集,在train.py和predict.py里面对应起来相应的流程
There was a problem hiding this comment.
There was a problem hiding this comment.
https://github.com/HeasonLee/SFIN 原始仓库里提供了bf和haddf两个测试数据集,论文中公开比较了TEMImagenet数据集,可以考虑使用这个(https://sites.google.com/view/temimagenet/home?utm_source=chatgpt.com)跑通训练流程,或者使用测试数据跑通训练流程。仓库也公开了预训练模型权重,可以对原先torch的权重进行格式转化为paddle,使用测试数据集验证效果。
There was a problem hiding this comment.
There was a problem hiding this comment.
https://pan.baidu.com/s/1qD4qUJmCLg_hy_P6YIqiaw?pwd=u183
这是训练数据,能否上传后提供对应的链接?
There was a problem hiding this comment.
There was a problem hiding this comment.
dataset这个文件还是没有使用build工厂函数的方式,可以参考mp20 dataset的实现逻辑,数据集是支持自动下载的,辛苦按照原先的逻辑实现
There was a problem hiding this comment.
crystal_materials/evaluate.py
Outdated
There was a problem hiding this comment.
evaluate.py这个文件的作用只是验证模型在验证集的效果过?如果是这样的话建议和train.py合并,并且只保留predict.py
There was a problem hiding this comment.
参考其他模型的readme页面,需要添加模型的结果,并且在该页面附上模型链接,除了预训练模型权重,还有log文件,建议下载其他的模型看一下格式
There was a problem hiding this comment.
sfin模型没有预训练权重文件,这个时候上传log就好了吧?
There was a problem hiding this comment.
There was a problem hiding this comment.
|
预训练模型权重链接:https://paddle-org.bj.bcebos.com/paddlematerials/checkpoints/spectrum_enhancement/sfin/sfin_he_500.pdparams |
There was a problem hiding this comment.
dataset这个文件还是没有使用build工厂函数的方式,可以参考mp20 dataset的实现逻辑,数据集是支持自动下载的,辛苦按照原先的逻辑实现
| __class_name__: STEMImageDataset | ||
| __init_params__: | ||
| data_path: "./bf_data" | ||
| url: "https://paddle-org.bj.bcebos.com/paddlematerials/datasets/SFIN_datasets/bf_data.zip" |
There was a problem hiding this comment.
数据集是支持后台下载的方式,辛苦不显示指定,参考mp20数据集的方式,在dataset.py里可以声明链接
README.md
Outdated
| ## 📑 Task | ||
| - [MLIP-Machine Learning Interatomic Potential](interatomic_potentials/README.md) | ||
| - [MLES-Machine Learning Electronic Structure](electronic_structure/README.md) | ||
| - [CM-Crystal Materials](crystal_materials/README.md) |
spectrum_enhancement/README.md
Outdated
| | **Datasets** | | | ||
| | HAADF/BF paired `noisy` / `gt_enhance` / `gt_detect` datasets | ✅ | | ||
|
|
||
| ## 3.Configurations |
There was a problem hiding this comment.
任务介绍readme里面辛苦删掉config的部分
spectrum_enhancement/README.md
Outdated
|
|
||
| Spectrum Enhancement (SE) focuses on enhancing and denoising spectral and microscopy data for crystalline materials. Leveraging advanced deep learning techniques, SE aims to recover high-quality signals from noisy observations, enabling more accurate analysis of material properties at the atomic scale. This task is particularly valuable for STEM (Scanning Transmission Electron Microscopy) image processing, where noise reduction can significantly improve the visualization of crystal structures and defects. | ||
|
|
||
| Current SFIN cases support: |
spectrum_enhancement/README.md
Outdated
|
|
||
| ## 1.Introduction | ||
|
|
||
| Spectrum Enhancement (SE) focuses on enhancing and denoising spectral and microscopy data for crystalline materials. Leveraging advanced deep learning techniques, SE aims to recover high-quality signals from noisy observations, enabling more accurate analysis of material properties at the atomic scale. This task is particularly valuable for STEM (Scanning Transmission Electron Microscopy) image processing, where noise reduction can significantly improve the visualization of crystal structures and defects. |
There was a problem hiding this comment.
【for crystalline materials】这句话删掉吧
spectrum_enhancement/README.md
Outdated
| | Distributed training | ✅ | | ||
| | Mixed precision (AMP) | — | | ||
| | Fine-tuning | ✅ | | ||
| | **ML Capabilities · Evaluation** | | |
There was a problem hiding this comment.
这里的ML Capabilityies更多是指框架工程框架能力,framework support,PSNR和SSIM放到这里不太合适
|
@leeleolay 已经按照要求修改了,请review |
|
权利声明辛苦修改为2026年,dataset的部分还没有修改,辛苦再看下review意见 @ADream-ki |
好的,已经修改了 |
|
dataset部分我刚刚修改好了 @leeleolay |
|
辛苦提供一下和torch精度对齐的数据 |
There was a problem hiding this comment.
已经有一个build_spectrum 的工厂函数,建议考虑下是否可以复用这个或者做个兼容性升级
There was a problem hiding this comment.
这个里面的模块是否可以借鉴仓库里已有的功能模块来服用。


No description provided.