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

fit_model error: slicer stuck #173

Closed
stephaniereinders opened this issue Jul 24, 2024 · 0 comments · Fixed by #174
Closed

fit_model error: slicer stuck #173

stephaniereinders opened this issue Jul 24, 2024 · 0 comments · Fixed by #174

Comments

@stephaniereinders
Copy link
Member

stephaniereinders commented Jul 24, 2024

fit_model occasionally produces the error "Slicer stuck at value with infinite density". Sometimes if you run fit_model a second time it will work. Maybe change the function to retry once.

In the example below, I tried running the model 5 times and got the same error each time:
Error in update.jags(object, n.iter, ...) : Error in node gamma[40]
Slicer stuck at value with infinite density

Example

Template Docs

Template with K=40 clusters created from
[1] "w0004_s01_pPHR_r01" "w0016_s01_pLND_r01" "w0018_s01_pWOZ_r01" "w0023_s01_pWOZ_r01"
[5] "w0025_s01_pPHR_r01" "w0029_s01_pLND_r01" "w0031_s01_pWOZ_r01" "w0032_s01_pPHR_r01"
[9] "w0036_s01_pWOZ_r01" "w0040_s01_pLND_r01" "w0042_s01_pWOZ_r01" "w0061_s01_pWOZ_r01"
[13] "w0064_s01_pWOZ_r01" "w0074_s01_pWOZ_r01" "w0076_s01_pLND_r01" "w0087_s01_pWOZ_r01"
[17] "w0092_s01_pPHR_r01" "w0122_s01_pLND_r01" "w0124_s01_pWOZ_r01" "w0131_s01_pPHR_r01"
[21] "w0139_s01_pLND_r01" "w0142_s01_pWOZ_r01" "w0143_s01_pWOZ_r01" "w0145_s01_pLND_r01"
[25] "w0146_s01_pLND_r01" "w0147_s01_pPHR_r01" "w0154_s01_pLND_r01" "w0180_s01_pWOZ_r01"
[29] "w0182_s01_pLND_r01" "w0191_s01_pLND_r01" "w0200_s01_pWOZ_r01" "w0227_s01_pWOZ_r01"
[33] "w0233_s01_pLND_r01" "w0238_s01_pLND_r01" "w0246_s01_pLND_r01" "w0249_s01_pWOZ_r01"
[37] "w0261_s01_pPHR_r01" "w0264_s01_pWOZ_r01" "w0276_s01_pLND_r01" "w0277_s01_pLND_r01"
[41] "w0281_s01_pLND_r01" "w0293_s01_pWOZ_r01" "w0312_s01_pPHR_r01" "w0320_s01_pLND_r01"
[45] "w0341_s01_pWOZ_r01" "w0353_s01_pWOZ_r01" "w0364_s01_pPHR_r01" "w0367_s01_pWOZ_r01"
[49] "w0370_s01_pLND_r01" "w0380_s01_pWOZ_r01" "w0391_s01_pPHR_r01" "w0394_s01_pWOZ_r01"
[53] "w0399_s01_pLND_r01" "w0402_s01_pWOZ_r01" "w0410_s01_pPHR_r01" "w0411_s01_pLND_r01"
[57] "w0418_s01_pWOZ_r01" "w0420_s01_pWOZ_r01" "w0425_s01_pWOZ_r01" "w0440_s01_pLND_r01"
[61] "w0444_s01_pWOZ_r01" "w0445_s01_pLND_r01" "w0450_s01_pWOZ_r01" "w0451_s01_pLND_r01"
[65] "w0468_s01_pLND_r01" "w0471_s01_pLND_r01" "w0495_s01_pLND_r01" "w0508_s01_pPHR_r01"
[69] "w0515_s01_pWOZ_r01" "w0522_s01_pLND_r01" "w0528_s01_pLND_r01" "w0532_s01_pWOZ_r01"
[73] "w0533_s01_pLND_r01" "w0536_s01_pLND_r01" "w0542_s01_pLND_r01" "w0543_s01_pPHR_r01"
[77] "w0546_s01_pLND_r01" "w0547_s01_pWOZ_r01" "w0549_s01_pWOZ_r01" "w0550_s01_pWOZ_r01"
[81] "w0551_s01_pPHR_r01" "w0553_s01_pLND_r01" "w0559_s01_pPHR_r01" "w0566_s01_pWOZ_r01"
[85] "w0572_s01_pLND_r01" "w0573_s01_pWOZ_r01" "w0576_s01_pLND_r01" "w0586_s01_pWOZ_r01"
[89] "w0590_s01_pLND_r01" "w0591_s01_pLND_r01" "w0597_s01_pPHR_r01" "w0606_s01_pLND_r01"
[93] "w0611_s01_pWOZ_r01" "w0612_s01_pWOZ_r01" "w0623_s01_pPHR_r01" "w0638_s01_pPHR_r01"
[97] "w0641_s01_pWOZ_r01" "w0642_s01_pLND_r01" "w0646_s01_pWOZ_r01" "w0647_s01_pWOZ_r01"
[101] "w0648_s01_pLND_r01" "w0653_s01_pWOZ_r01" "w0656_s01_pLND_r01" "w0661_s01_pPHR_r01"
[105] "w0666_s01_pLND_r01" "w0670_s01_pLND_r01" "w0671_s01_pLND_r01" "w0675_s01_pWOZ_r01"
[109] "w0677_s01_pLND_r01" "w0680_s01_pWOZ_r01" "w0682_s01_pWOZ_r01" "w0685_s01_pLND_r01"
[113] "w0695_s01_pLND_r01" "w0700_s01_pWOZ_r01" "w0701_s01_pWOZ_r01" "w0702_s01_pLND_r01"
[117] "w0705_s01_pWOZ_r01" "w0707_s01_pWOZ_r01" "w0719_s01_pLND_r01" "w0720_s01_pPHR_r01"

Model Docs

[1] "w0001_s01_pLND_r01.png" "w0001_s01_pLND_r02.png" "w0001_s01_pLND_r03.png"
[4] "w0004_s01_pLND_r01.png" "w0004_s01_pLND_r02.png" "w0004_s01_pLND_r03.png"
[7] "w0011_s01_pLND_r01.png" "w0011_s01_pLND_r02.png" "w0011_s01_pLND_r03.png"
[10] "w0012_s01_pLND_r01.png" "w0012_s01_pLND_r02.png" "w0012_s01_pLND_r03.png"
[13] "w0015_s01_pLND_r01.png" "w0015_s01_pLND_r02.png" "w0015_s01_pLND_r03.png"
[16] "w0016_s01_pLND_r01.png" "w0016_s01_pLND_r02.png" "w0016_s01_pLND_r03.png"
[19] "w0018_s01_pLND_r01.png" "w0018_s01_pLND_r02.png" "w0018_s01_pLND_r03.png"
[22] "w0022_s01_pLND_r01.png" "w0022_s01_pLND_r02.png" "w0022_s01_pLND_r03.png"
[25] "w0024_s01_pLND_r01.png" "w0024_s01_pLND_r02.png" "w0024_s01_pLND_r03.png"
[28] "w0028_s01_pLND_r01.png" "w0028_s01_pLND_r02.png" "w0028_s01_pLND_r03.png"
[31] "w0029_s01_pLND_r01.png" "w0029_s01_pLND_r02.png" "w0029_s01_pLND_r03.png"
[34] "w0032_s01_pLND_r01.png" "w0032_s01_pLND_r02.png" "w0032_s01_pLND_r03.png"
[37] "w0033_s01_pLND_r01.png" "w0033_s01_pLND_r02.png" "w0033_s01_pLND_r03.png"
[40] "w0034_s01_pLND_r01.png" "w0034_s01_pLND_r02.png" "w0034_s01_pLND_r03.png"
[43] "w0035_s01_pLND_r01.png" "w0035_s01_pLND_r02.png" "w0035_s01_pLND_r03.png"
[46] "w0043_s01_pLND_r01.png" "w0043_s01_pLND_r02.png" "w0043_s01_pLND_r03.png"
[49] "w0058_s01_pLND_r01.png" "w0058_s01_pLND_r02.png" "w0058_s01_pLND_r03.png"
[52] "w0061_s01_pLND_r01.png" "w0061_s01_pLND_r02.png" "w0061_s01_pLND_r03.png"
[55] "w0062_s01_pLND_r01.png" "w0062_s01_pLND_r02.png" "w0062_s01_pLND_r03.png"
[58] "w0063_s01_pLND_r01.png" "w0063_s01_pLND_r02.png" "w0063_s01_pLND_r03.png"
[61] "w0064_s01_pLND_r01.png" "w0064_s01_pLND_r02.png" "w0064_s01_pLND_r03.png"
[64] "w0071_s01_pLND_r01.png" "w0071_s01_pLND_r02.png" "w0071_s01_pLND_r03.png"
[67] "w0074_s01_pLND_r01.png" "w0074_s01_pLND_r02.png" "w0074_s01_pLND_r03.png"
[70] "w0075_s01_pLND_r01.png" "w0075_s01_pLND_r02.png" "w0075_s01_pLND_r03.png"
[73] "w0077_s01_pLND_r01.png" "w0077_s01_pLND_r02.png" "w0077_s01_pLND_r03.png"
[76] "w0080_s01_pLND_r01.png" "w0080_s01_pLND_r02.png" "w0080_s01_pLND_r03.png"
[79] "w0082_s01_pLND_r01.png" "w0082_s01_pLND_r02.png" "w0082_s01_pLND_r03.png"
[82] "w0091_s01_pLND_r01.png" "w0091_s01_pLND_r02.png" "w0091_s01_pLND_r03.png"
[85] "w0092_s01_pLND_r01.png" "w0092_s01_pLND_r02.png" "w0092_s01_pLND_r03.png"
[88] "w0094_s01_pLND_r01.png" "w0094_s01_pLND_r02.png" "w0094_s01_pLND_r03.png"
[91] "w0095_s01_pLND_r01.png" "w0095_s01_pLND_r02.png" "w0095_s01_pLND_r03.png"
[94] "w0102_s01_pLND_r01.png" "w0102_s01_pLND_r02.png" "w0102_s01_pLND_r03.png"
[97] "w0130_s01_pLND_r01.png" "w0130_s01_pLND_r02.png" "w0130_s01_pLND_r03.png"
[100] "w0131_s01_pLND_r01.png" "w0131_s01_pLND_r02.png" "w0131_s01_pLND_r03.png"
[103] "w0133_s01_pLND_r01.png" "w0133_s01_pLND_r02.png" "w0133_s01_pLND_r03.png"
[106] "w0147_s01_pLND_r01.png" "w0147_s01_pLND_r02.png" "w0147_s01_pLND_r03.png"
[109] "w0151_s01_pLND_r01.png" "w0151_s01_pLND_r02.png" "w0151_s01_pLND_r03.png"
[112] "w0152_s01_pLND_r01.png" "w0152_s01_pLND_r02.png" "w0152_s01_pLND_r03.png"
[115] "w0154_s01_pLND_r01.png" "w0154_s01_pLND_r02.png" "w0154_s01_pLND_r03.png"
[118] "w0156_s01_pLND_r01.png" "w0156_s01_pLND_r02.png" "w0156_s01_pLND_r03.png"
[121] "w0160_s01_pLND_r01.png" "w0160_s01_pLND_r02.png" "w0160_s01_pLND_r03.png"
[124] "w0162_s01_pLND_r01.png" "w0162_s01_pLND_r02.png" "w0162_s01_pLND_r03.png"
[127] "w0175_s01_pLND_r01.png" "w0175_s01_pLND_r02.png" "w0175_s01_pLND_r03.png"
[130] "w0182_s01_pLND_r01.png" "w0182_s01_pLND_r02.png" "w0182_s01_pLND_r03.png"
[133] "w0186_s01_pLND_r01.png" "w0186_s01_pLND_r02.png" "w0186_s01_pLND_r03.png"
[136] "w0189_s01_pLND_r01.png" "w0189_s01_pLND_r02.png" "w0189_s01_pLND_r03.png"
[139] "w0201_s01_pLND_r01.png" "w0201_s01_pLND_r02.png" "w0201_s01_pLND_r03.png"
[142] "w0205_s01_pLND_r01.png" "w0205_s01_pLND_r02.png" "w0205_s01_pLND_r03.png"
[145] "w0206_s01_pLND_r01.png" "w0206_s01_pLND_r02.png" "w0206_s01_pLND_r03.png"
[148] "w0218_s01_pLND_r01.png" "w0218_s01_pLND_r02.png" "w0218_s01_pLND_r03.png"
[151] "w0224_s01_pLND_r01.png" "w0224_s01_pLND_r02.png" "w0224_s01_pLND_r03.png"
[154] "w0226_s01_pLND_r01.png" "w0226_s01_pLND_r02.png" "w0226_s01_pLND_r03.png"
[157] "w0227_s01_pLND_r01.png" "w0227_s01_pLND_r02.png" "w0227_s01_pLND_r03.png"
[160] "w0232_s01_pLND_r01.png" "w0232_s01_pLND_r02.png" "w0232_s01_pLND_r03.png"
[163] "w0234_s01_pLND_r01.png" "w0234_s01_pLND_r02.png" "w0234_s01_pLND_r03.png"
[166] "w0238_s01_pLND_r01.png" "w0238_s01_pLND_r02.png" "w0238_s01_pLND_r03.png"
[169] "w0239_s01_pLND_r01.png" "w0239_s01_pLND_r02.png" "w0239_s01_pLND_r03.png"
[172] "w0240_s01_pLND_r01.png" "w0240_s01_pLND_r02.png" "w0240_s01_pLND_r03.png"
[175] "w0242_s01_pLND_r01.png" "w0242_s01_pLND_r02.png" "w0242_s01_pLND_r03.png"
[178] "w0262_s01_pLND_r01.png" "w0262_s01_pLND_r02.png" "w0262_s01_pLND_r03.png"
[181] "w0280_s01_pLND_r01.png" "w0280_s01_pLND_r02.png" "w0280_s01_pLND_r03.png"
[184] "w0285_s01_pLND_r01.png" "w0285_s01_pLND_r02.png" "w0285_s01_pLND_r03.png"
[187] "w0288_s01_pLND_r01.png" "w0288_s01_pLND_r02.png" "w0288_s01_pLND_r03.png"
[190] "w0293_s01_pLND_r01.png" "w0293_s01_pLND_r02.png" "w0293_s01_pLND_r03.png"
[193] "w0297_s01_pLND_r01.png" "w0297_s01_pLND_r02.png" "w0297_s01_pLND_r03.png"
[196] "w0301_s01_pLND_r01.png" "w0301_s01_pLND_r02.png" "w0301_s01_pLND_r03.png"
[199] "w0302_s01_pLND_r01.png" "w0302_s01_pLND_r02.png" "w0302_s01_pLND_r03.png"
[202] "w0308_s01_pLND_r01.png" "w0308_s01_pLND_r02.png" "w0308_s01_pLND_r03.png"
[205] "w0313_s01_pLND_r01.png" "w0313_s01_pLND_r02.png" "w0313_s01_pLND_r03.png"
[208] "w0314_s01_pLND_r01.png" "w0314_s01_pLND_r02.png" "w0314_s01_pLND_r03.png"
[211] "w0330_s01_pLND_r01.png" "w0330_s01_pLND_r02.png" "w0330_s01_pLND_r03.png"
[214] "w0335_s01_pLND_r01.png" "w0335_s01_pLND_r02.png" "w0335_s01_pLND_r03.png"
[217] "w0337_s01_pLND_r01.png" "w0337_s01_pLND_r02.png" "w0337_s01_pLND_r03.png"
[220] "w0341_s01_pLND_r01.png" "w0341_s01_pLND_r02.png" "w0341_s01_pLND_r03.png"
[223] "w0350_s01_pLND_r01.png" "w0350_s01_pLND_r02.png" "w0350_s01_pLND_r03.png"
[226] "w0353_s01_pLND_r01.png" "w0353_s01_pLND_r02.png" "w0353_s01_pLND_r03.png"
[229] "w0354_s01_pLND_r01.png" "w0354_s01_pLND_r02.png" "w0354_s01_pLND_r03.png"
[232] "w0367_s01_pLND_r01.png" "w0367_s01_pLND_r02.png" "w0367_s01_pLND_r03.png"
[235] "w0372_s01_pLND_r01.png" "w0372_s01_pLND_r02.png" "w0372_s01_pLND_r03.png"
[238] "w0380_s01_pLND_r01.png" "w0380_s01_pLND_r02.png" "w0380_s01_pLND_r03.png"
[241] "w0384_s01_pLND_r01.png" "w0384_s01_pLND_r02.png" "w0384_s01_pLND_r03.png"
[244] "w0387_s01_pLND_r01.png" "w0387_s01_pLND_r02.png" "w0387_s01_pLND_r03.png"
[247] "w0391_s01_pLND_r01.png" "w0391_s01_pLND_r02.png" "w0391_s01_pLND_r03.png"
[250] "w0392_s01_pLND_r01.png" "w0392_s01_pLND_r02.png" "w0392_s01_pLND_r03.png"
[253] "w0393_s01_pLND_r01.png" "w0393_s01_pLND_r02.png" "w0393_s01_pLND_r03.png"
[256] "w0397_s01_pLND_r01.png" "w0397_s01_pLND_r02.png" "w0397_s01_pLND_r03.png"
[259] "w0422_s01_pLND_r01.png" "w0422_s01_pLND_r02.png" "w0422_s01_pLND_r03.png"
[262] "w0424_s01_pLND_r01.png" "w0424_s01_pLND_r02.png" "w0424_s01_pLND_r03.png"
[265] "w0425_s01_pLND_r01.png" "w0425_s01_pLND_r02.png" "w0425_s01_pLND_r03.png"
[268] "w0429_s01_pLND_r01.png" "w0429_s01_pLND_r02.png" "w0429_s01_pLND_r03.png"
[271] "w0435_s01_pLND_r01.png" "w0435_s01_pLND_r02.png" "w0435_s01_pLND_r03.png"
[274] "w0443_s01_pLND_r01.png" "w0443_s01_pLND_r02.png" "w0443_s01_pLND_r03.png"
[277] "w0453_s01_pLND_r01.png" "w0453_s01_pLND_r02.png" "w0453_s01_pLND_r03.png"
[280] "w0459_s01_pLND_r01.png" "w0459_s01_pLND_r02.png" "w0459_s01_pLND_r03.png"
[283] "w0460_s01_pLND_r01.png" "w0460_s01_pLND_r02.png" "w0460_s01_pLND_r03.png"
[286] "w0481_s01_pLND_r01.png" "w0481_s01_pLND_r02.png" "w0481_s01_pLND_r03.png"
[289] "w0495_s01_pLND_r01.png" "w0495_s01_pLND_r02.png" "w0495_s01_pLND_r03.png"
[292] "w0500_s01_pLND_r01.png" "w0500_s01_pLND_r02.png" "w0500_s01_pLND_r03.png"
[295] "w0501_s01_pLND_r01.png" "w0501_s01_pLND_r02.png" "w0501_s01_pLND_r03.png"
[298] "w0508_s01_pLND_r01.png" "w0508_s01_pLND_r02.png" "w0508_s01_pLND_r03.png"

@stephaniereinders stephaniereinders linked a pull request Aug 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant