aidge_core.Tensor not working on Windows
After installing aidge, I tried to follow the tutorial and load the onnx but it crashed. Further investigation shows that it comes from the aigde_core.Tensor()
call. To get the same crash I can just launch the code:
import aidge_backend_cpu
import aidge_core
print(aidge_core.Tensor([5, 5]))
PyCharm returns
Process finished with exit code -1073741819 (0xC0000005)
but otherwise I have no error message.
I don't know if this is related or if this is another issue but when I run aidge_core.Tensor()
(empty arg) it returns
Assertion failed: mImpl && mImpl->hostPtr() != nullptr in C:\Users\AL253370\Documents\Projets\DeepGreen\aidge\aidge\aidge_core\include\aidge/data/Tensor.hpp:394Traceback (most recent c
all last):
File "C:\Users\AL253370\Documents\Projets\DeepGreen\tuto_aidge\bug.py", line 4, in <module>
print(aidge_core.Tensor())
RuntimeError: tensor should have a valid host pointer