Hello, I have the following error that I cannot resolve:
“Could not find a format to write the specified file in %s mode” % modename
ValueError: Could not find a format to write the specified file in single-image mode
the code is :
for f in  jpgFiles:
image=misc.imread(f)
img=misc.imresize(image,(256,256,3))
print(img.shape)
pred=pipeline.predict(img)
output=visualizer(img,pred)
imageio.imwrite(args.outputPath,output)
Help please