Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenPCDet
Commits
fade8425
Unverified
Commit
fade8425
authored
Nov 13, 2022
by
souravraha
Committed by
GitHub
Nov 13, 2022
Browse files
Misspelled words (#1179)
* grammatical errors
parent
f221374a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pcdet/datasets/custom/custom_dataset.py
pcdet/datasets/custom/custom_dataset.py
+2
-2
tools/eval_utils/eval_utils.py
tools/eval_utils/eval_utils.py
+1
-1
No files found.
pcdet/datasets/custom/custom_dataset.py
View file @
fade8425
...
@@ -249,7 +249,7 @@ def create_custom_infos(dataset_cfg, class_names, data_path, save_path, workers=
...
@@ -249,7 +249,7 @@ def create_custom_infos(dataset_cfg, class_names, data_path, save_path, workers=
)
)
with
open
(
train_filename
,
'wb'
)
as
f
:
with
open
(
train_filename
,
'wb'
)
as
f
:
pickle
.
dump
(
custom_infos_train
,
f
)
pickle
.
dump
(
custom_infos_train
,
f
)
print
(
'Custom info train file is save to %s'
%
train_filename
)
print
(
'Custom info train file is save
d
to %s'
%
train_filename
)
dataset
.
set_split
(
val_split
)
dataset
.
set_split
(
val_split
)
custom_infos_val
=
dataset
.
get_infos
(
custom_infos_val
=
dataset
.
get_infos
(
...
@@ -257,7 +257,7 @@ def create_custom_infos(dataset_cfg, class_names, data_path, save_path, workers=
...
@@ -257,7 +257,7 @@ def create_custom_infos(dataset_cfg, class_names, data_path, save_path, workers=
)
)
with
open
(
val_filename
,
'wb'
)
as
f
:
with
open
(
val_filename
,
'wb'
)
as
f
:
pickle
.
dump
(
custom_infos_val
,
f
)
pickle
.
dump
(
custom_infos_val
,
f
)
print
(
'Custom info train file is save to %s'
%
val_filename
)
print
(
'Custom info train file is save
d
to %s'
%
val_filename
)
print
(
'------------------------Start create groundtruth database for data augmentation------------------------'
)
print
(
'------------------------Start create groundtruth database for data augmentation------------------------'
)
dataset
.
set_split
(
train_split
)
dataset
.
set_split
(
train_split
)
...
...
tools/eval_utils/eval_utils.py
View file @
fade8425
...
@@ -131,7 +131,7 @@ def eval_one_epoch(cfg, args, model, dataloader, epoch_id, logger, dist_test=Fal
...
@@ -131,7 +131,7 @@ def eval_one_epoch(cfg, args, model, dataloader, epoch_id, logger, dist_test=Fal
logger
.
info
(
result_str
)
logger
.
info
(
result_str
)
ret_dict
.
update
(
result_dict
)
ret_dict
.
update
(
result_dict
)
logger
.
info
(
'Result is save to %s'
%
result_dir
)
logger
.
info
(
'Result is save
d
to %s'
%
result_dir
)
logger
.
info
(
'****************Evaluation done.*****************'
)
logger
.
info
(
'****************Evaluation done.*****************'
)
return
ret_dict
return
ret_dict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment