RomGai / BrainVis

Official code repository for the paper: "BrainVis: Exploring the Bridge between Brain and Visual Signals via Image Reconstruction"
https://brainvis-projectpage.github.io/
MIT License
43 stars 2 forks source link

Error failed to read image in evaluate python scripts #4

Closed LukasDotEU closed 4 months ago

LukasDotEU commented 4 months ago

In evalute.py and evalute_IS.py Images in subj6pic/stage2/ are tried to be opened. However this dir doesn't exist. In evalute.py I was able to just comment that part out, because it doesn't do anything. In evalute_IS.py it might do something, because the loaded images would be added to the generated_image_list.

RomGai commented 4 months ago

I have uploaded the modified "evalute.py" and "evalute_IS.py", they should be able to work now. Sorry, the previous one had some redundant parts left from the draft version code that caused the bug.

LukasDotEU commented 4 months ago

Thanks for the fast response. Thanks for publishing the repository btw!