spurious_feature_learning
spurious_feature_learning copied to clipboard
segmentation fault with Group DRO
When executing the code related to group_DRO, I encountered a segmentation fault error at the following part:
IN group_DRO/gdro_data/dfr_datasets.py
sys.path.append("../")
import data as dfr_data
I'm wondering about the meaning of import data in this part. Does it refer to the outer data folder? Or does it refer to the data.py file inside gdro_data? Has anyone else who ran this code not encountered such a segmentation fault error? I'd appreciate any helpful recommendations or solutions to resolve this issue.
Hey @olccihyeon! I believe, this line is trying to load this file. When you are running the script, are you running it from the group_dro
folder? With python3 run_expt.py ...
? I am also not sure why you are getting segmentation fault, and not just an import error?