songh11
songh11
> I may have figured out a solution to this! It looks like the array pointer remains valid as long as the `py::buffer_info` object returned by `buffer.request()` exists. I've written...
I have the same exact question. How can I malloc a buffer from c++ and use it On the Python side?
> Hi I changed my code like this. !apt-get install liblapacke !apt-get install wget !apt-get install cuda-command-line-tools-11-0 !pip install ipython==7.16.1 !pip install numpy==1.16.4 !pip install scipy==1.1.0 !pip install protobuf==3.7.1 !pip...
> > @MTlab I also met this problem, when convert pytorch yolov3 to onnx, then convert to caffe > > 我也遇到这个问题,在用yolov3转换到onnx, 再转换到caffe > > 所以老哥问题解决了吗?我估计和你情况一样,pytorch->onnx->caffe。用opset9就报这个错,opset11在转upsample时报KeyError: 'height_scale'。 请问有解决方法么,我pytorch1.5->onnx->caffe时也会报Reshape的错,在opset9时简化模型,会报Upsample的错
执行python ./siamreppoints/setup.py build_ext --inplace时会报错 assert len(sources) > 0 AssertionError 感谢作者热心答复,我再看看是哪里错了
谢谢作者,我从头再配置一下,看看还会不会报错
> > @hihei 您好,请问您解决了吗,我遇到了同样的问题 > > 没有解决 试一下把这个关了呢,enable_model_cpu_offload
Hello, I still have questions here. Why not use this Quantization first and then division? ``` fc.weight.data = w_quantize_func(fc.weight.data) / scales.view(1, -1) ``` > Hi, > > 1. We found...
> > 是的,面临同样的问题 > > 我目前使用的是 Ubuntu 20.04.6 Python 3.9 > > 给了我同样的错误 > > 而如果我在 colab 上设置 aimet,它不会给出错误 Colab 使用 Ubuntu 22.04.3 和 Python 3.10.12 > > 更新: 问题在于...
> > ### Description > > 就比如 SD 的 controlnet,我们修改 pipeline 使当 conditioning_scale 为 0 时,使 down_block_res_samples 和 mid_block_res_sample 为 None,这样会导致 unet 的输入数量改变而重新编译静态图,请问有办法不重编么 > > 这个是两种情况。 1. 这个可以理解为 conditioning_scale 为0...