TX2i runs tensorflow crash reboot

Hi,

When TX2i runs the tensorflow test program, the GPU runs out of memory and TX2i restarts automatically.
The system version is JetPack4.2.2.

Attachment is tensorflow test program.

Thanks.
cnn.7z (13.2 KB)

Hi,

A possible issue is that TensorFlow
occupies too much memory and causes some system crash since the memory is shared.

Would you mind to update the cnn_ops.py with following option to see if helps?

#warm up op
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
config.gpu_options.per_process_gpu_memory_fraction = 0.4
sess = tf.Session(config=config)
sess.run(tf.global_variables_initializer())
sess.run(op)
...

Thanks.

Hi,AastaLLL

The problem is solved.
The reason is that a power cord is too thin, causing the system to restart when running tensorflow.

Thanks.