使用 Tensorflow 简单矩阵行列式的 Jetson Nano 上的资源要求错误太多

问题描述

希望我在正确的地方发布这个。

我用最新的 JetPack 4.5 和 Tensorflow 2.3 从头开始​​重新安装了我的 Jetson。

简单的 Tensorflow 示例代码 (MNIST) 运行正常。

当我尝试运行时:

import numpy as np
import tensorflow as tf

D = tf.convert_to_tensor(np.array([[1.,2.,3.],[-3.,-7.,-1.],[0.,5.,-2.]]))
print("Shape of D: ",D.shape)

print(tf.linalg.det(D))

我收到以下错误

F tensorflow/core/kernels/determinant_op_gpu.cu.cc:136] Non-OK-status: GpuLaunchKernel( DeterminantFromPiVotedLUKernel<Scalar,false>,config.block_count,config.thread_per_block,device.stream(),config.virtual_thread_count,n,lu_factor.data(),pivots,nullptr,output.data()) status: Internal: too many resources requested for launch

有人能告诉我我是否做错了什么,或者这是我应该找到解决方法错误吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)