ValueError: Cannot assign non-leaf Tensor to parameter 'weight'. Model parameters must be created explicitly. To express 'weight' as a function of another Tensor, compute the value in the forward() method. 加载权重成功了,infer报错 Activity ailongxia commented on May 3, 2024 ailongxia on May...
This seems to be a bug related to TensorFlow not being able to use Numpy. Here it cannot convert the symbolic Tensor to a numpy array. Hence, when using Numpy it comes to a complete stop. The workaround for this issue turned into issue #36793. But I believe both issues should be ...
cupy/_core/dlpack.pyx:152:25: Cannot assign type 'void (DLManagedTensor *) except * nogil' to 'void (*)(DLManagedTensor *) noexcept' Error compiling Cython file: --- ... dlm_tensor.manager_ctx = <void*>array cpython.Py_INCREF(array) dlm_tensor.deleter = deleter return cpython.PyC...
instantiation of "void mshadow::cuda::MapPlan<Saver,DstExp,E,DType>(mshadow::expr::Plan<DstExp, DType>, const mshadow::expr::Plan<E, DType> &, mshadow::Shape<2>, cudaStream_t) [with Saver=mshadow::sv::saveto, DstExp=mshadow::Tensor<mxnet::gpu, 2, uint8_t>, E=mshadow::expr:...
Please make sure that 'mmcv.ops.csrc.common.utils.spconv.tensorview' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`)....