Open Ezharjan opened 7 months ago
Hi @Ezharjan , I think the "not responding" thing is due to the training being very slow. From the log, I can see that tensorflow doesn't use a GPU and this is extremely suggested! I mean to perform training you need a quite capable NVIDIA GPU (or ROCm for AMD) or on CPU it will take more than forever.
Hi @Ezharjan , I think the "not responding" thing is due to the training being very slow. From the log, I can see that tensorflow doesn't use a GPU and this is extremely suggested! I mean to perform training you need a quite capable NVIDIA GPU (or ROCm for AMD) or on CPU it will take more than forever.
Thanks for your kind response!
I'm actually using a GPU3090 machine, with:
Fri Apr 5 19:59:09 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3090 On | 00000000:01:00.0 On | N/A |
| 45% 66C P2 194W / 350W | 2021MiB / 24576MiB | 44% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1521 G /usr/lib/xorg/Xorg 35MiB |
| 0 N/A N/A 3030 G /usr/lib/xorg/Xorg 145MiB |
| 0 N/A N/A 3173 G /usr/bin/gnome-shell 65MiB |
| 0 N/A N/A 41987 G ...erProcess --variations-seed-version 65MiB |
| 0 N/A N/A 336765 C+G ...aries/Linux/CarlaUE4-Linux-Shipping 1370MiB |
| 0 N/A N/A 336919 C python 254MiB |
+---------------------------------------------------------------------------------------+
Need I add some more codes to manually call main.py
on GPU?
(Or does the project requires to be run on a cluster via slurm
rather than on a PC?)
Every time when I run
main.py
, the vehicle will be driven and some time later it will hit the traffic object, then the pygame window will show"main.py" is not responding
. The whole process ends. Are there any way to fix it?The total output is as follows:
Env
Python Version: 3.7.16