visualcomputinginstitute / dr-spaam-detector Goto Github PK
View Code? Open in Web Editor NEWDR-SPAAM: A Spatial-Attention and Auto-regressive Model for Person Detection in 2D Range Data
License: GNU General Public License v3.0
DR-SPAAM: A Spatial-Attention and Auto-regressive Model for Person Detection in 2D Range Data
License: GNU General Public License v3.0
thank you for share your project.
i prepared all the repository, and when i run demo.py in Pycharm:
if __name__ == "__main__":
play_sequence()
it is not error, but the plot dose not move and generate many empty plots.
i dont know how to submit pic in git, but i also waiting for your reply.
thanks
Hello, I followed the installation steps, the only difference would be that I used python3 here: "python setup.py install" instead of python.
I compiled the dr_spaam_ros pack and it tried to launch the node however I was met with the following weird error.
`... logging to /home/pedro/.ros/log/af40bed4-9243-11eb-a885-8d8ffcb1084e/roslaunch-pedro-Legion-Y540-15IRH-36436.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://pedro-Legion-Y540-15IRH:41101/
PARAMETERS
NODES
/
dr_spaam_ros (dr_spaam_ros/node.py)
auto-starting new master
process[master]: started with pid [36444]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to af40bed4-9243-11eb-a885-8d8ffcb1084e
process[rosout-1]: started with pid [36454]
started core service [/rosout]
process[dr_spaam_ros-2]: started with pid [36461]
Traceback (most recent call last):
File "/home/pedro/DR-SPAAM-Detector/src/dr_spaam_ros/scripts/node.py", line 10, in
DrSpaamROS()
File "/home/pedro/DR-SPAAM-Detector/src/dr_spaam_ros/src/dr_spaam_ros/dr_spaam_ros.py", line 16, in init
self._detector = Detector(
File "/usr/local/lib/python3.8/dist-packages/dr_spaam-1.1-py3.8.egg/dr_spaam/detector.py", line 68, in init
File "/home/pedro/.local/lib/python3.8/site-packages/torch/serialization.py", line 579, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/pedro/.local/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/pedro/.local/lib/python3.8/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/home/dan/git/DR-SPAAM-Detector_private/dr_spaam/ckpts/dr_spaam_e40.pth'
[dr_spaam_ros-2] process has died [pid 36461, exit code 1, cmd /home/pedro/DR-SPAAM-Detector/src/dr_spaam_ros/scripts/node.py __name:=dr_spaam_ros __log:=/home/pedro/.ros/log/af40bed4-9243-11eb-a885-8d8ffcb1084e/dr_spaam_ros-2.log].
log file: /home/pedro/.ros/log/af40bed4-9243-11eb-a885-8d8ffcb1084e/dr_spaam_ros-2*.log`
Where did I mess up for it to be looking into: '/home/dan/git/DR-SPAAM-Detector_private/dr_spaam/ckpts/dr_spaam_e40.pth'?
Hello, thanks for the great contribution. I have tried the model on nvidia xavier NX.
When I try rostopic hz /dr_spaam_detections
, I get around 0.2Hz instead of 20Hz++ that shown in the documentation. Do you have any ideas on that?
i comments plt.pause(0.001)
and uncomments plt.savefig('xxxxxxx/output/frame_%04d.png' % i)
then i run the project in terminal with python demo.py --dets
three time information displayed:
inference time (model: DR-SPAAM, gpu: True): 13.697982 ms (73.0 FPS)
inference time (model: DROW, gpu: True): 12.038951 ms (83.1 FPS)
inference time (model: DROW-T5, gpu: True): 30.621982 ms (32.7 FPS)
and then, it is just running and nothing in xxxxxxx/output
Hi guys, Great work! Just wanted to let you know, I am on commit 56ded71 (master), followed the install instructions. When running python bin/demo.py --dets
, the following error pops up:
(master)$ ipython -i bin/demo.py -- --dets
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
--------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/Code/DR-SPAAM-Detector/dr_spaam/bin/demo.py in <module>
235
236 if args.dets:
--> 237 play_sequence()
238
239 if args.tracks:
~/Code/DR-SPAAM-Detector/dr_spaam/bin/demo.py in play_sequence()
48 ckpt = './ckpts/dr_spaam_e40.pth'
49 detector = Detector(ckpt, original_drow=False,
---> 50 gpu=True, area_interp=False, stride=1)
51 detector.set_laser_spec(angle_inc=np.radians(0.5), num_pts=450)
52
TypeError: __init__() got an unexpected keyword argument 'area_interp'
removing the area_interp=False,
arg from the function call fixes the error, I assume it's just an untracked API change.
i want to use this project for my own data, i just have the .bag files generated by laser.
is there some python scripts or something to do this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.