Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
zema_emc_annotated
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
M4D
zema_emc_annotated
Commits
00a7a736
Verified
Commit
00a7a736
authored
2 years ago
by
Björn Ludwig
Browse files
Options
Downloads
Patches
Plain Diff
fix(dataset): remove strict hash checking to drastically increase performance
parent
3d8a75f8
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
src/zema_emc_annotated/dataset.py
+1
-5
1 addition, 5 deletions
src/zema_emc_annotated/dataset.py
with
1 addition
and
5 deletions
src/zema_emc_annotated/dataset.py
+
1
−
5
View file @
00a7a736
...
...
@@ -4,7 +4,6 @@ __all__ = [
"
ExtractionDataType
"
,
"
LOCAL_ZEMA_DATASET_PATH
"
,
"
ZeMASamples
"
,
"
ZEMA_DATASET_HASH
"
,
"
ZEMA_DATASET_URL
"
,
"
ZEMA_QUANTITIES
"
,
]
...
...
@@ -27,9 +26,6 @@ from pooch import retrieve
from
zema_emc_annotated.data_types
import
RealMatrix
,
RealVector
,
UncertainArray
LOCAL_ZEMA_DATASET_PATH
=
Path
(
dirname
(
__file__
),
"
datasets
"
)
ZEMA_DATASET_HASH
=
(
"
sha256:fb0e80de4e8928ae8b859ad9668a1b6ea6310028a6690bb8d4c1abee31cb8833
"
)
ZEMA_DATASET_URL
=
"
https://zenodo.org/record/5185953/files/axis11_2kHz_ZeMA_PTB_SI.h5
"
ZEMA_QUANTITIES
=
(
"
Acceleration
"
,
...
...
@@ -104,7 +100,7 @@ class ZeMASamples:
def
_extract_data
(
self
,
normalize
:
bool
)
->
UncertainArray
:
dataset_full_path
=
retrieve
(
url
=
ZEMA_DATASET_URL
,
known_hash
=
ZEMA_DATASET_HASH
,
known_hash
=
None
,
path
=
LOCAL_ZEMA_DATASET_PATH
,
progressbar
=
True
,
)
...
...
This diff is collapsed.
Click to expand it.
Björn Ludwig
@ludwig10
mentioned in commit
ecdd5241
·
2 years ago
mentioned in commit
ecdd5241
mentioned in commit ecdd52418ecf98426da621be5ed6c57bbec78665
Toggle commit list
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