现在,我有一些存储 OpenEXR 文件的代码:
FrameBuffer frameBuffer;
frameBuffer.insert ("G", Slice(FLOAT, (char *)data, sizeof(*data),
sizeof(*data)*width));
frameBuffer.insert ("Z", Slice(FLOAT, (char *)rangeMod,
sizeof(*rangeMod),
sizeof(*rangeMod)*width));
file.setFrameBuffer(frameBuffer);
file.writePixels(height);
但是,如何将此文件从 Colab 导出到 Google Drive 文件夹?
谢谢!