MedSegDiff icon indicating copy to clipboard operation
MedSegDiff copied to clipboard

RuntimeError: Tried to instantiate dummy base class Event

Open DWBSIC opened this issue 2 years ago • 0 comments

Traceback (most recent call last): File "D:\scripts\segmentation_sample.py", line 166, in main() File "D:\scripts\segmentation_sample.py", line 100, in main start = th.cuda.Event(enable_timing=True) File "D:\Program Files\Anaconda\envs\py39\lib\site-packages\torch\cuda\streams.py", line 164, in new return super(Event, cls).new( File "D:\Program Files\Anaconda\envs\py39\lib\site-packages\torch\cuda_utils.py", line 46, in err_fn raise RuntimeError( RuntimeError: Tried to instantiate dummy base class Event

您好,我在Linux系统中进行sample没有任何问题,但是我尝试在Windows系统下进行训练,所有的参数配置都是按照作者在readme中的参数设置,请问为什么会出现上述的错误,请大家帮助解决。

Hello, I have no problem with sampling in Linux system, but I try to train in Windows system, and all parameters are set according to the author's parameter Settings in readme. May I ask why the above errors occur, please help to solve.

if you want to chat with me: WeChat: DWBSIC

DWBSIC avatar May 10 '23 02:05 DWBSIC