Skip to content

Feature Request: Option to run on CPU #8

@jraufeisen

Description

@jraufeisen

Thanks for this awesome implementation of CAMERAS!
I was experimenting with it on a non-GPU machine first and found that by default this library assumes that CUDA is installed. But with a few tweaks it's possible to run it on CPU only.

Could we add functionality for that?

An intuitive implementation could be to check inside the constructor of CAMERAS(<model>, ...) which device the given model lives in. Then all existing calls to .cuda() can be replaced with .to(<device>).

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions