Skip to content

RuntimeError: CUDA error: invalid device function #8

@GeorvityLabs

Description

@GeorvityLabs

Hey guys,

I made a colab notebook for this project.
I'm currently getting this error

Traceback (most recent call last): File "demo.py", line 341, in <module> model = Demo(args) File "demo.py", line 53, in __init__ self.renderer_mr = Renderer(cfgs, im_size=128) File "/content/3DFaceReconstruction-LAP/lap/renderer/renderer_mr.py", line 45, in __init__ self.inv_k_mat = torch.inverse(k_mat).unsqueeze(0) RuntimeError: CUDA error: invalid device function

How to fix this?

Here is a link to my notebook , you can make a copy and edit it

https://colab.research.google.com/drive/18tIkvLIaN-_v3sLW2ykkcLGpqxwRN13z?usp=sharing

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