External Email - Use Caution        

Hi:

  I installed the 22 march freesurfer developer version. I test
mri_synthseg with a CT image, but it shows me the following error:

"mri_synthseg --i /home/developer/Documents/sub-0001/H2.nii.gz --o
/home/developer/Documents/sub-0001 --cpu --ct
Traceback (most recent call last):
  File "/usr/local/freesurfer/7-dev/python/scripts/mri_synthseg", line 22,
in <module>
    import tensorflow as tf
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/tensorflow/__init__.py",
line 479, in <module>
    keras._load()
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/tensorflow/python/util/lazy_loader.py",
line 45, in _load
    module = importlib.import_module(self.__name__)
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/importlib/__init__.py",
line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/__init__.py",
line 25, in <module>
    from keras import models
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/models/__init__.py",
line 18, in <module>
    from keras.engine.functional import Functional
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/engine/functional.py",
line 25, in <module>
    from keras.engine import base_layer
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
line 43, in <module>
    from keras.mixed_precision import loss_scale_optimizer
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/mixed_precision/loss_scale_optimizer.py",
line 20, in <module>
    from keras.optimizer_v2 import optimizer_v2
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/keras/optimizer_v2/optimizer_v2.py",
line 36, in <module>
    keras_optimizers_gauge = tf.__internal__.monitoring.BoolGauge(
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/tensorflow/python/eager/monitoring.py",
line 360, in __init__
    super(BoolGauge, self).__init__('BoolGauge', _bool_gauge_methods,
  File
"/usr/local/freesurfer/7-dev/python/lib/python3.8/site-packages/tensorflow/python/eager/monitoring.py",
line 135, in __init__
    self._metric = self._metric_methods[self._label_length].create(*args)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric
with the same name already exists."

  Which could be the problem ?

  Sincerely,

Gonzalo Rojas Costa
Department of Radiology
ClĂ­nica las Condes
Lo Fontecilla 441, Las Condes, Santiago, Chile.
Tel: 56-2-2105170
Cel: 56-9-97771785
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to