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
3b0f5014
Commit
3b0f5014
authored
Dec 09, 2021
by
Shaoshuai Shi
Browse files
use try-except strategy to skip the dependency on pandas/pandaset if you do not use it
parent
378593ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
pcdet/datasets/pandaset/pandaset_dataset.py
pcdet/datasets/pandaset/pandaset_dataset.py
+5
-2
No files found.
pcdet/datasets/pandaset/pandaset_dataset.py
View file @
3b0f5014
...
@@ -4,8 +4,11 @@
...
@@ -4,8 +4,11 @@
import
pickle
import
pickle
import
os
import
os
import
pandas
as
pd
try
:
import
pandaset
as
ps
import
pandas
as
pd
import
pandaset
as
ps
except
:
pass
import
numpy
as
np
import
numpy
as
np
from
..dataset
import
DatasetTemplate
from
..dataset
import
DatasetTemplate
...
...
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