我已经使用C++接口编写了一个非常简单的PopART程序,但每次我尝试编译它以在IPU设备上运行时,我都会得到以下错误: terminate called after throwing an instanceof ‘popart::error’
what(): Could not find loss tensor ‘L1:0’ in main graph tensors 我在我的程序中定义损失是这样的: auto loss = builder->aiGraphcoreOpset1().l1loss({outputs[0]}, 0.1f, <em
for _ in range(coef): image_mod.save(''+dir_path+'\\PopArtstr(i)+'.png') for i in range(9):
Img[i]=Image.open(""+dir_path+"\\PopArtImg[i] = Img[i].resize((basew
for _ in range(coef): image_mod.save(''+dir_path+'\\PopArtstr(i)+'.png') for i in range(9):
Img[i]=Image.open(""+dir_path+"\\PopArtImg[i] = Img[i].resize((basew