-
Why did it happen?
```
test_y=test_y.reshape(120,1) print(test_y)
ValueError Traceback (most recent call last)
Input In [235], in ()
----> 1 test_y=test_y.resh…
-
## 🐞Describe the bug
A clear and brief description of what the bug is.
I am trying to convert my tensorflow 2.0 model to coreml. My saved model is in checkpoint format so i do the following to cre…
-
**What happened**:
I am trying to calculate a linear trend over a large climate model simulation. I use rechunker to chunk the data along the horizontal dimensions and make sure that the time d…
-
我想将二元交叉熵变换为多元交叉熵函数,将F.binary_cross_entropy更换为F.cross_entropy,不对预测分数和target矩阵做flat_scores = scores.reshape(-1),flat_matrix = matrix.reshape(-1)直接使用scores 和matrix作为F.cross_entropy,但是在最后 loss = ((flat_lo…
-
I encountered an error while attempting to run tract on a split of a model (produced by onnx.utils.extract_model).
The steps to reproduce the error are as follows:
I have an ONNX model named "…
-
用 ppl.pmx Export 导出模型,有大量的警告, Warning: The shape interface of opmx::XX(如 ParallelEmbedding、ColumnParallelLinear、Reshape等) type is missing,用转出来的 onnx 格式的文件启动 ppl_llm_server,提示 unsupported op: domain[op…
-
环境:
Windows 10
Python 3.10
用的是 https://pypi.doubanio.com/simple/ 源
mnn (2.9.6)
numpy (1.26.3)
此前, 用llmexport把一个tf的模型(.safetensors)转成了一个onnx
![56418653a49b2e8d4a9cce4da12991df](https://github.…
-
The code from the load.py is generating error of "total size of new array must be unchanged". It just loads the mnist dataset to an array and then reshaping it. The error occurs while reshaping it (in…
-
I want to test on the KITTI dataset.
I have real data, how do I generate a file like the following:
./f2-nerf/data/example/ngp_fox/cams_meta.npy
How do I get dist_params and bounds ? thanks
…
-
I have a simple CNN. When I send data as a = np.random.rand(1,2,3,3), I want to obtain one output of shape (1, 9, 2), in which the SoftMax is taken along axis = -1. So, in this way np.sum(out) = 9, an…