Cannot run using a docker image on a Jetson Nano from Windows

I am trying to run Python programs with the NVIDIA L4T-ML docker image running on a Jetson Nano 4GB through PyCharm on a windows AMD64 PC. I have configured SSH with keys and docker permissions are given to my default user (mryorkiebar).

I have added the SSH config to PyCharm successfully and added the docker image interpreter by inputting the image name: `` and python path as `python3`. It recognises all the packages inside the image correctly. 

I then went to run configuration for (the default "Hi, PyCharm" script) and changed the docker container settings, added the following options as environment variables `-it --rm --runtime nvidia --network host` since NVIDIA says to run it using `docker run -it --rm --runtime nvidia --network host`. I also added the following path mapping:

Local Path: `C:\Users\<my_user>\<path_to>\DepthPerception`

Remote Path: `/home/mryorkiebar/Documents/RemoteProjects/DepthPerception`

I thought that this specified where the files on my windows PC should be sent to on the Jetson similar to how using an SSH interpreter asks you to specify the location for where the project files should be uploaded to.

I cannot run main or start a python console, I get the error:

Running main: `Error running 'main': Cannot run the remote Python interpreter: create \\c\\Users\\<my_user>\\\\Google Drive\\\\<path_to>\\DepthPerception: \"\\\\c\\\\Users\\\\<my_user>\\\\Google Drive\\\\<path_to>\\\\DepthPerception\" includes invalid characters for a local volume name, only \"[a-zA-Z0-9][a-zA-Z0-9_.-]\" are allowed. If you intended to pass a host directory, use absolute path`

Opening a python console: `Error:invalid volume specification: 'C:\\Users\\<my_user>\\Google Drive\\<path_to>\\DepthPerception:/opt/project:rw'`

Anyone know what I'm doing wrong here? Any help would be appreciated. Thanks

Please sign in to leave a comment.