文章:《HDR image reconstruction from a single exposure using deep CNNs》
代码:https://github.com/gabrieleilertsen/hdrcnn
关于python3运行OpenEXR的坑
安装OpenEXR的依赖库
使用sudo apt-get install libopenexr-dev
安装的是1.2.0
的版本,不过这个只能在python2.7
中使用,因此需要安装OpenEXR 2.3.0
- 方法一:源码编译:https://github.com/openexr/openexr
- 方法二:如果你是使用anaconda环境,可以直接安装,运行
conda install -c conda-forge openexr
安装OpenEXR的python库
- 完成上面步骤之后就可以安装OpenEXR的python包。
- 使用
pip3 install OpenEXR
安装的包会发生OpenEXR.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK7Imf_2_214TypedAttributeISsE12writeValueToERNS_7OStreamEi
的错误,原因是