Skip to content

Running DEMO on multiple GPUs #133

Open
@maffan-96

Description

@maffan-96

Hello,
Is it possible to run demo.py on multiple GPUs (say 2). When I try parallel=True for VisualizationDemoCustom class, it fails to run raising error:
Traceback (most recent call last):
File "/home/affanm/miniconda3/envs/oneformer_py38_ros/lib/python3.8/site-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/affanm/sensor fusion xtreme/catkin_ws/src/oneformer_pkg/src/demo_ros.py", line 114, in image_callback
predictions, vis_output = self.demo.run_on_image(cv_image, self.task)
File "/home/affanm/sensor fusion xtreme/catkin_ws/src/oneformer_pkg/scripts/util/local_predictor.py", line 59, in run_on_image
predictions = self.predictor(image, task)
TypeError: call() takes 2 positional arguments but 3 were given

I tried to look into the documentation, but no information is provided about multiple gpu usage for evaluation with pretrained model.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions