Skip to content

"Debug adapter process has terminated unexpectedly" - CANNOT debug cuda? #682

@jiapei100

Description

@jiapei100

Hi, all:

It looks I failed to debug pytorch cuda ???
My ENV:
OS: Ubuntu 16.04
Python: Anaconda Python 3.5.2
IDE: VSCode 1.9.0

Whenever I tried to debug the example code MNIST at line 80:

if args.cuda:
            **data, target = data.cuda(), target.cuda()** // line 80
        data, target = Variable(data), Variable(target)

I met this Error:
Debug adapter process has terminated unexpectedly

Did anybody meet the same issue? Any possibility to debug pytorch cuda code?

Cheers
Pei

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