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
44 stars 3 forks source link

Error failed to read image in evaluate python scripts #4

Closed LukasDotEU closed 6 months ago

LukasDotEU commented 6 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 6 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 6 months ago

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