Last updated
Last updated
Node Setup in Trovi
If you ran all of the steps in reserve_baremetal.ipynb in our , then your baremetal node should be good to go. You can access the node through an ssh tunnel to its Jupyter Notebook (explained in the linked Trovi artifact) or via a standard ssh connection through your terminal as explained below. If you did not use the script in Trovi and instead reserved your node using the Chameleon GUI, you should follow the steps below to make sure that your node is set up properly.
Node Setup in Terminal
Ssh into the Chameleon instance from your own computer. Run this command in your terminal. You can find the ip address on the Chameleon dashboard under Compute->Instances.
Clone the donkeycar directory into the Chameleon instance in the root directory
Move to the donkeycar directory and set up:
NOTE: make sure you are always inside your virtual python environment from this point forward. The virtual environment is important so that the compatible version of python is used. You can check if you are in the virtual environment if the prompt in the terminal has a (venv) before the name of the device.
For Nodes with GPU Only: Additional Setup
Run the following commands to utilize the GPU for training with CUDA:
The last command will print output of cudnn versions to the screen. You will have to copy that version into the placeholder in this next command.
example: (your version may be different)
Reboot the machine:
Check if GPU is seen by the machine
This line will output information about tensorflow and whether it is able to use the GPU. There may be some warnings at the top of the output, but at the bottom should be information about the GPU.
When you launch your raspberry pi using our image, donkeycar is installed automatically for you. But for the baremetal node, we will have to install it ourselves.