Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
iamap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
AMAP
iamap
Commits
f1ce1703
Commit
f1ce1703
authored
2 weeks ago
by
paul.tresson_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
fix typos and change default model to dino small patch 8
parent
07a7d7ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
encoder.py
+4
-2
4 additions, 2 deletions
encoder.py
with
4 additions
and
2 deletions
encoder.py
+
4
−
2
View file @
f1ce1703
...
...
@@ -172,7 +172,7 @@ class EncoderAlgorithm(IAMAPAlgorithm):
tmp_files_cleanup_frq
=
QgsProcessingParameterNumber
(
name
=
self
.
TEMP_FILES_CLEANUP_FREQ
,
description
=
self
.
tr
(
"
Frequenc
ie
at which temporary files should be cleaned up (zero means no cleanup).
"
"
Frequenc
y
at which temporary files should be cleaned up (zero means no cleanup).
"
),
type
=
QgsProcessingParameterNumber
.
Integer
,
defaultValue
=
500
,
...
...
@@ -247,6 +247,7 @@ class EncoderAlgorithm(IAMAPAlgorithm):
)
)
self
.
backbone_opt
=
[
"
ViT small DINO patch 8
"
,
"
ViT base DINO
"
,
"
ViT tiny Imagenet (smallest)
"
,
"
ViT base MAE
"
,
...
...
@@ -254,6 +255,7 @@ class EncoderAlgorithm(IAMAPAlgorithm):
"
--Empty--
"
,
]
self
.
timm_backbone_opt
=
[
"
vit_samll_patch8_224.dino
"
,
"
vit_base_patch16_224.dino
"
,
"
vit_tiny_patch16_224.augreg_in21k
"
,
"
vit_base_patch16_224.mae
"
,
...
...
@@ -631,7 +633,7 @@ class EncoderAlgorithm(IAMAPAlgorithm):
# overwritting merged_tmp.tif may be impossible in windows (e.g. if an antivirus is analysing the newly created data)
# then, merging and cleaning is impossible
except
Exception
as
e
:
feedback
.
pushWarning
(
f
"
Unable to clean
ing
temporary files ! Try to delete them latter at
{
self
.
output_subdir
}
"
)
feedback
.
pushWarning
(
f
"
Unable to clean temporary files ! Try to delete them latter at
{
self
.
output_subdir
}
"
)
self
.
all_encoding_done
=
True
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment