Giter VIP home page Giter VIP logo

dr-spaam-detector's People

Contributors

danjia21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dr-spaam-detector's Issues

Run the demo.py but cannot display the result.

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

Error launching ros node

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/

SUMMARY

PARAMETERS

  • /dr_spaam_ros/conf_thresh: 0.1
  • /dr_spaam_ros/publisher/detections/latch: False
  • /dr_spaam_ros/publisher/detections/queue_size: 1
  • /dr_spaam_ros/publisher/detections/topic: /dr_spaam_detections
  • /dr_spaam_ros/publisher/rviz/latch: False
  • /dr_spaam_ros/publisher/rviz/queue_size: 1
  • /dr_spaam_ros/publisher/rviz/topic: /dr_spaam_rviz
  • /dr_spaam_ros/stride: 1
  • /dr_spaam_ros/subscriber/scan/queue_size: 1
  • /dr_spaam_ros/subscriber/scan/topic: /sick_laser_front...
  • /dr_spaam_ros/weight_file: /home/dan/git/DR-...
  • /rosdistro: noetic
  • /rosversion: 1.15.9

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'?

FPS Issue

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?

it is take too long time when i run python demo.py --dets

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

__init__() got an unexpected keyword argument 'area_interp'

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.