techxzen / hdrnet-mobile

A C++ implementation of hdrnet inference.
49 stars 11 forks source link

found a ug #2

Closed PanJinquan closed 6 years ago

PanJinquan commented 6 years ago

Hi,thank you so much for your code! Recently,I write a CMakelists.txt for your project and try to build your project by cmake in Windows. But I found a Bug.When running on Linux(Ubuntu), the result was normal .But when running on Windows,the output image was abnormal(all black). Puzzling ! So I debug your code, I found this function read_data_from_file read the binary file and try to print its value ,result show that different from the Linux. So , I modified the code FILE * fi = fopen(file_name, "rb");and it ran successfully in windows.