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

> *Error*: SOM file not found: default.som #50

Open
jiminlee728 opened this issue Apr 14, 2023 · 4 comments
Open

> *Error*: SOM file not found: default.som #50

jiminlee728 opened this issue Apr 14, 2023 · 4 comments

Comments

@jiminlee728
Copy link

I installed source extractor using brew on Mac.
I am trying to use with the default configuration files, but error appears.
Fitting model: background offset+point source+Sersic spheroid+exponential disk

Reading Neural Network Weights
Error: SOM file not found: default.som

I don't see any som file except som.h and som.c in src file neither in my directory or the git repository.
Is there anyone had same problems or know how to solve?

@kirxkirx
Copy link

Try removing the line

SOM_NAME         default.som    # File containing Self-Organizing Map weights

from your SExtractor configuration file (probably the one named default.sex).

@jiminlee728
Copy link
Author

I already don't have it in default.sex.
#-------------------------------- WEIGHTing ----------------------------------

WEIGHT_TYPE NONE # type of WEIGHTing: NONE, BACKGROUND,
# MAP_RMS, MAP_VAR or MAP_WEIGHT
WEIGHT_IMAGE weight.fits # weight-map filename

This is all under WEIGHTing.
I tried to add that line in the file but also not working

@kirxkirx
Copy link

OK, than maybe you have some parameters ending with _SOMFIT in the output configuration file default.param? If this is the case - maybe try removing/commenting them out?

@jiminlee728
Copy link
Author

It works!! Thank you

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

2 participants