Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
xutong05
/
Image_sr_recon-SRCNN
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
main
Breadcrumbs
Image_sr_recon-SRCNN
/
readme.txt
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
13 lines (11 loc) · 766 Bytes
main
Breadcrumbs
Image_sr_recon-SRCNN
/
readme.txt
Copy path
Top
File metadata and controls
Code
Blame
13 lines (11 loc) · 766 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
step1-pre 为预处理的程序:输出为train以及 test的h5格式的文件
step2-train为训练模型的程序:输出为训练的模型参数保存在checkpoint文件夹中
step3-test为预测的程序:输入为一张图片的h5文件,输出pnsr值。并且将input图片、label图片、预测图片保存在sample中够查看。
checkpoint文件夹:保存的模型参数
h5文件夹:存储的train、test训练集的h5文件
sample文件夹:保存的是input、label、预测图片
解释:
这里模型参数已经训练并保存了,直接运行strp-test加载保存在checkpoint文件夹中参数,最后可得到pnsr值。
输入为test文件夹中set文件夹中的一张图片(本来有五张,取一张先做实验),这里取得是woman图片。
得到的pnsr为29.09db,优于双三次插值的28.56db,但距离理想效果30.92db仍有距离。
通过肉眼对sample文件夹中的图片观察,很明显预测的图片相比input和label都偏黑,不知道是不是原因在这里。
You can’t perform that action at this time.