Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.gmm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.bio.gmm
Commits
e956fd84
There was a problem fetching the pipeline summary.
Commit
e956fd84
authored
8 years ago
by
Vedrana KRIVOKUCA
Browse files
Options
Downloads
Patches
Plain Diff
Fix small bug in code used to take the user seed as input in the ST scenario
parent
5f7b11bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/gmm/algorithm/IVector_BioHash.py
+1
-1
1 addition, 1 deletion
bob/bio/gmm/algorithm/IVector_BioHash.py
with
1 addition
and
1 deletion
bob/bio/gmm/algorithm/IVector_BioHash.py
+
1
−
1
View file @
e956fd84
...
@@ -55,7 +55,7 @@ class IVector_BioHash (IVector):
...
@@ -55,7 +55,7 @@ class IVector_BioHash (IVector):
return
biohash
.
create_biohash
(
ivector
,
self
.
length
,
user_seed
)
return
biohash
.
create_biohash
(
ivector
,
self
.
length
,
user_seed
)
else
:
# stolen token scenario, so user_seed will be some randomly generated number (same for every person in the database), specified in config file
else
:
# stolen token scenario, so user_seed will be some randomly generated number (same for every person in the database), specified in config file
print
"
STOLEN TOKEN scenario user seed: %s
\n
"
%
(
self
.
user_seed
)
print
"
STOLEN TOKEN scenario user seed: %s
\n
"
%
(
self
.
user_seed
)
return
biohash
.
create_biohash
(
self
.
ivector
,
self
.
length
,
self
.
user_seed
)
return
biohash
.
create_biohash
(
ivector
,
self
.
length
,
self
.
user_seed
)
def
project
(
self
,
feature_array
,
user_seed
):
def
project
(
self
,
feature_array
,
user_seed
):
...
...
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