Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GSRP TDOA
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
Maxence Ferrari
GSRP TDOA
Commits
48596f9d
Commit
48596f9d
authored
2 years ago
by
ferrari
Browse files
Options
Downloads
Patches
Plain Diff
Fix text formatting
parent
2e736028
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gsrp_tdoa_hyperres.py
+4
-4
4 additions, 4 deletions
gsrp_tdoa_hyperres.py
with
4 additions
and
4 deletions
gsrp_tdoa_hyperres.py
+
4
−
4
View file @
48596f9d
...
...
@@ -341,9 +341,9 @@ if __name__ == "__main__":
f
'
reducing the number of tdoa to evaluate.
\n
'
f
'
{
BColors
.
BOLD
}
auto
{
BColors
.
ENDC
}
automatically try to pick the right method.
'
)
group4
.
add_argument
(
'
-q
'
,
'
--quota
'
,
type
=
parse_mem_size
,
default
=
np
.
infty
,
help
=
'
Memory limit in bytes for the {BColors.BOLD}smart{BColors.ENDC} method. If hit, halt the
'
'
computation of the current frame and skip to the next one. Note that it does not account
'
'
for other memory usage, such as the sound data. Can be a unit such as GB, GiO, Ko, ...
'
)
help
=
f
'
Memory limit in bytes for the
{
BColors
.
BOLD
}
smart
{
BColors
.
ENDC
}
method. If hit, halt the
'
f
'
computation of the current frame and skip to the next one. Note that it does not account
'
f
'
for other memory usage, such as the sound data. Can be a unit such as GB, GiO, Ko, ...
'
)
group4
.
add_argument
(
'
-v
'
,
'
--verbose
'
,
action
=
'
store_true
'
,
help
=
'
Activate verbose for smart mode
'
)
args
=
parser
.
parse_args
()
...
...
@@ -358,5 +358,5 @@ if __name__ == "__main__":
if
trace
is
not
None
:
if
trace
():
raise
e
from
None
print
(
f
'
{
BColors
.
WARNING
}{
type
(
e
).
__name__
}
:
{
e
}{
BColors
.
WARNING
}
'
)
print
(
f
'
{
BColors
.
WARNING
}{
type
(
e
).
__name__
}
:
{
e
}{
BColors
.
ENDC
}
'
)
sys
.
exit
(
2
)
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