Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation with spearmanr #53

Open
ZeweiChu opened this issue Dec 18, 2018 · 1 comment
Open

Segmentation with spearmanr #53

ZeweiChu opened this issue Dec 18, 2018 · 1 comment

Comments

@ZeweiChu
Copy link

ZeweiChu commented Dec 18, 2018

I got segmentation fault everytime I run the STS tasks. After some investigation I found that the error comes from the the spearmanr function in sts.py.

I am using python 3.7, scipy 1.2.0, pytorch 0.4.1.

Here are the logs:

sys_scores
[0.53282106, 0.56179583, 0.63689476, 0.52020013, 0.70368159, 0.85529864, 0.69405955, 0.80750644, 0.50071383, 0.78061992, 0.73714286, 0.74759108, 0.77318597, 0.61328888, 0.82235664, 0.67099679, 0.46783599, 0.87001014, 0.67212039, 0.52007401, 0.60244519, 0.56914616, 0.55294085, 0.55580038, 0.7000789, 0.37525794, 0.6046868, 0.53792733, 0.57309884, 0.78869909, 0.52774405, 0.69139481, 0.6898036, 0.6959576, 0.62821692, 0.68083483, 0.56105924, 0.59035391, 0.54674476, 0.73587191, 0.75334722, 0.74477309, 0.80102426, 0.64415872, 0.56861484, 0.52249408, 0.58139539, 0.82671714, 0.74536121, 0.77357376, 0.70629591, 0.40831181, 0.66388333, 0.60138464, 0.82425904, 0.74319339, 0.67951113, 0.70138073, 0.77270043, 0.78673518, 0.71917921, 0.78075945, 0.7851581, 0.70233256, 0.78714317, 0.58923429, 0.64612728, 0.57743275, 0.67893326, 0.77131927, 0.54793221, 0.79382974, 0.7107833, 0.65085924, 0.43631819, 0.79180443, 0.69630986, 0.8032608, 0.6845845, 0.67379141, 0.60308737, 0.49806148, 0.7866559, 0.49621186, 0.80384904, 0.79054737, 0.834279, 0.59118289, 0.71131784, 0.74815035, 0.7889083, 0.61007786, 0.70626193, 0.31144464, 0.52034998, 0.85465163, 0.64460927, 0.72596329, 0.62866676, 0.76025343, 0.83724588, 0.77664566, 0.75103313, 0.61436921, 0.54367328, 0.80471706, 0.6748184, 0.67683917, 0.71606731, 0.74000257, 0.53928262, 0.68466693, 0.71783888, 0.70335972, 0.71639985, 0.67988008, 0.61855751, 0.81000304, 0.87668842, 0.69470048, 0.76580679, 0.48343068, 0.72444898, 0.66337252, 0.77593547, 0.62781852, 0.77682769, 0.46797526, 0.70053804, 0.65706426, 0.63090724, 0.77131999, 0.56111509, 0.72701353, 0.72136265, 0.72380322, 0.71729803, 0.72381616, 0.76242697, 0.7080372, 0.39157203, 0.65572792, 0.69320512, 0.73564279, 0.76948404, 0.67487121, 0.57728362, 0.75574845, 0.63954127, 0.66635221, 0.71936178, 0.52472252, 0.57108057, 0.66900474, 0.85823673, 0.73608321, 0.77027607, 0.61897272, 0.74442381, 0.67931819, 0.85658896, 0.66424078, 0.68785131, 0.64514256, 0.69124854, 0.66538209, 0.77916342, 0.74337095, 0.78974795, 0.4712033, 0.70299804, 0.62414801, 0.73369694, 0.64495879, 0.6124332, 0.8495757, 0.6273331, 0.78814358, 0.66349941, 0.72749186, 0.73088801, 0.71480709, 0.66348439, 0.71329457, 0.59407598, 0.67095512, 0.59238553, 0.58496535, 0.64888179]
gs_scores
[0.2, 2.0, 2.4, 0.0, 2.6, 3.4, 0.0, 1.0, 1.6, 2.2, 2.0, 1.4, 3.8, 1.2, 1.6, 0.0, 0.4, 1.0, 2.6, 3.4, 1.2, 0.4, 3.2, 2.4, 1.6, 0.0, 1.8, 0.6, 0.2, 2.2, 3.4, 1.4, 2.2, 1.0, 2.6, 0.0, 2.4, 2.6, 0.2, 1.4, 2.6, 2.2, 2.6, 2.0, 3.2, 0.8, 0.4, 2.0, 2.0, 2.2, 1.6, 2.8, 2.4, 3.2, 2.8, 3.0, 0.4, 0.0, 2.0, 0.4, 1.8, 3.2, 2.8, 0.8, 2.8, 0.2, 2.66666666666667, 0.0, 0.8, 0.8, 1.8, 1.8, 4.0, 0.4, 0.0, 0.8, 0.6, 0.8, 1.2, 2.4, 0.0, 0.0, 3.4, 1.0, 2.6, 2.0, 1.8, 0.8, 0.8, 1.6, 0.4, 1.5, 0.6, 0.6, 2.0, 2.0, 0.0, 1.4, 2.6, 2.4, 0.8, 1.2, 1.6, 0.2, 0.8, 1.8, 1.0, 1.5, 1.2, 2.4, 2.0, 1.0, 1.2, 1.6, 0.0, 2.2, 0.6, 1.4, 2.6, 0.0, 2.2, 1.6, 0.8, 2.6, 1.4, 0.0, 0.8, 0.2, 1.4, 1.2, 0.8, 2.4, 0.0, 2.2, 1.0, 2.2, 1.2, 0.6, 2.0, 1.6, 0.0, 0.8, 1.6, 3.0, 1.6, 0.0, 0.0, 2.6, 0.0, 1.6, 0.4, 0.6, 2.8, 2.6, 2.0, 1.0, 0.8, 1.8, 2.8, 2.8, 1.6, 1.33333333333333, 1.8, 1.8, 2.0, 1.6, 0.8, 0.6, 1.2, 1.0, 2.2, 0.0, 3.0, 0.2, 0.8, 2.4, 1.2, 2.25, 0.0, 1.2, 3.2, 2.4, 0.0, 0.4, 0.8, 0.0, 1.6, 1.2, 1.4]
spearmanr
<function spearmanr at 0x7fe1abaf5488>
spearmanr(sys_scores, gs_scores)
6735 Segmentation fault

@ZeweiChu
Copy link
Author

I think it has something to do with the GPU in our cluster. After I changed to another node in the cluster the bug disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant