Cuogeihong / CEASC

The official implementation of CEASC
Apache License 2.0
106 stars 13 forks source link

安装Sparse_conv模块报错 #21

Open b-yanchao opened 1 year ago

b-yanchao commented 1 year ago

error: invalid initialization of reference of type ‘const c10::TensorOptions&’ from expression of type ‘const c10::nullopt_t’

CAFFE2_API Tensor empty_like(const Tensor & self, const TensorOptions & options={}, c10::optional memory_format=c10::nullopt); ^~~~~~ error: command '/usr/bin/gcc' failed with exit code 1

Excuse me, what is the reason for this error when installing Sparse_conv?

lzl200110 commented 1 year ago

我也遇到了这个问题,把pytorch版本改为Pytorch 1.10.1就解决了