Open CeLuigi opened 4 months ago
Thanks for reporting this issue. The missing csv files (e.g. 4points.csv) each contain 2 columns: filename and number of segments detected by SAM.
These files are created by the scripts/compile_segment_counts.py in my fork of the SAM github repository. This script works by opening all the .json files (one per image) outputted by the amg.py script and counting the number of SAM segments. Currently we don't have instructions for running compile_segment_counts.py. I will add these later.
For now, can you directly use the *.csv files? I've uploaded them to a folder called "sam_data" in this repository.
I run the code to extract the SAM output for the datasets. Finally, I tried to run the code for your method, but I fail because the required files listed at the following line do not exist: https://github.com/shenkev/simplicity-in-complexity/blob/c2522f35866038199302b56d90ef5d664e350db5/analysis/data.py#L42
How are they obtained?
Thank you.