# No standard head model found

**URL:** <https://mne.discourse.group/t/no-standard-head-model-found/4851>\
**Category:** Support & Discussions\
**Tags:** coregistration\
**Created:** [May 10, 2022, 1:13am UTC](https://mne.discourse.group/t/no-standard-head-model-found/4851 "2022-05-10T01:13:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rekha](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/rekha/32/1372_2.png) [@Rekha](https://mne.discourse.group/u/Rekha)\
**Post date:** [May 10, 2022, 1:13am UTC](https://mne.discourse.group/t/no-standard-head-model-found/4851/1 "2022-05-10T01:13:28Z")

</div>

Hi @alexrockhill @mmagnuski . I was trying to perform coregistration for my subject, however came across the error that said:

```python

---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_20764/3719688315.py in <module>
----> 1 mne.gui.coregistration(subject='E:\myMRI-20220510T004802Z-001\myMRI\_my_subject', subjects_dir=subjects_dir,
      2 inst=epochs['12'])

<decorator-gen-564> in coregistration(tabbed, split, width, inst, subject, subjects_dir, guess_mri_subject, height, head_opacity, head_high_res, trans, scrollable, project_eeg, orient_to_surface, scale_by_distance, mark_inside, interaction, scale, advanced_rendering, head_inside, verbose)

~\Anaconda3\envs\mne\lib\site-packages\mne\gui\ __init__.py in coregistration(tabbed, split, width, inst, subject, subjects_dir, guess_mri_subject, height, head_opacity, head_high_res, trans, scrollable, project_eeg, orient_to_surface, scale_by_distance, mark_inside, interaction, scale, advanced_rendering, head_inside, verbose)
    207 show = not MNE_3D_BACKEND_TESTING
    208 standalone = not MNE_3D_BACKEND_TESTING
--> 209 return CoregistrationUI(
    210 info_file=inst, subject=subject, subjects_dir=subjects_dir,
    211 head_resolution=head_high_res, orient_glyphs=orient_to_surface,

~\Anaconda3\envs\mne\lib\site-packages\mne\gui\_coreg.py in __init__ (self, info_file, subject, subjects_dir, fiducials, head_resolution, head_transparency, hpi_coils, head_shape_points, eeg_channels, orient_glyphs, sensor_opacity, trans, size, bgcolor, show, standalone, verbose)
    161 self._info = info
    162 self._fiducials = fiducials
--> 163 self._coreg = Coregistration(
    164 self._info, subject, subjects_dir, fiducials)
    165 fid_accurate = self._coreg._fid_accurate

~\Anaconda3\envs\mne\lib\site-packages\mne\coreg.py in __init__ (self, info, subject, subjects_dir, fiducials)
   1350 
   1351 self._setup_digs()
-> 1352 self._setup_bem()
   1353 self._setup_fiducials(fiducials)
   1354 self.reset()

~\Anaconda3\envs\mne\lib\site-packages\mne\coreg.py in _setup_bem(self)
   1388 high_res=False)
   1389 if high_res_path is None and low_res_path is None:
-> 1390 raise RuntimeError("No standard head model was "
   1391 f"found for subject {self._subject}")
   1392 if high_res_path is not None:

RuntimeError: No standard head model was found for subject E:\myMRI-20220510T004802Z-001\myMRI\_my_subject

```

MY BEM looks like

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/1/12819713b2d06f77aa7d184692012ed9d10b0337.jpeg)

How can I resolve the run time error?

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [May 10, 2022, 5:23am UTC](https://mne.discourse.group/t/no-standard-head-model-found/4851/2 "2022-05-10T05:23:16Z")

</div>

For the subject parameter you need to pass the subject name not the path to the subject folder on your disk

Alex
