Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FCN-CD-PyTorch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
manli
FCN-CD-PyTorch
Merge requests
!1
Update content
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update content
github/fork/Bobholamovic/master
into
master
Overview
1
Commits
6
Pipelines
0
Changes
4
Merged
manli
requested to merge
github/fork/Bobholamovic/master
into
master
4 years ago
Overview
1
Commits
6
Pipelines
0
Changes
4
Expand
Created by: Bobholamovic
Add suffix for output images during validation.
Detail
README.md
.
Fix typo.
Change default counting mode of
Metric
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
31e99e9f
6 commits,
3 years ago
4 files
+
81
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/data/_AirChange.py
+
3
−
0
Options
@@ -59,6 +59,9 @@ class _AirChangeDataset(CDDataset):
label
=
(
label
/
255.0
).
astype
(
np
.
uint8
)
# To 0,1
return
label
if
self
.
phase
==
'
train
'
else
self
.
cropper
(
label
)
def
get_name
(
self
,
index
):
return
'
{loc}-{id}-cm.bmp
'
.
format
(
loc
=
self
.
LOCATION
,
id
=
index
)
@staticmethod
def
_bmp_loader
(
bmp_path_wo_ext
):
# Case insensitive .bmp loader
Loading