Skip to content
Snippets Groups Projects
Commit 6f46b596 authored by paul.tresson_ird.fr's avatar paul.tresson_ird.fr
Browse files

allow several extensions for checkpoint files. Fixes #3

parent 8082ec0a
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,8 @@ class EncoderAlgorithm(QgsProcessingAlgorithm):
name=self.CKPT,
description=self.tr(
'Pretrained checkpoint'),
extension='pth',
# extension='pth',
fileFilter='Checkpoint Files (*.pth *.pkl);; All Files (*.*)',
optional=True,
defaultValue=None
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment