IsoNet-cryoET / IsoNet

Self-supervised learning for isotropic cryoET reconstruction
https://www.nature.com/articles/s41467-022-33957-8
MIT License
67 stars 12 forks source link

An error message after the last iteration #25

Open procyontao opened 2 years ago

procyontao commented 2 years ago

I believe this message can simply be ignored. But I will try to fix this.

Exception ignored in: <function Pool.del at 0x7f6bc4fbae50> Traceback (most recent call last): File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 268, in del self._change_notifier.put(None) File "/usr/local/lib/python3.8/multiprocessing/queues.py", line 368, in put self._writer.send_bytes(obj) File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes self._send_bytes(m[offset:offset + size]) File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 411, in _send_bytes self._send(header + buf) File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 368, in _send n = write(self._handle, buf) OSError: [Errno 9] Bad file descriptor

procyontao commented 2 years ago

I found this could be a bug in Tensorflow. https://github.com/tensorflow/tensorflow/issues/50487

Ignore it should be OK

EricDeveaud commented 1 year ago

Hello

tested various versionof tensorflow, nad finaly tensorflow-gpu-2.10.0 allow the run toends correctly see:

200/200 [==============================] - 44s 218ms/step - loss: 0.1402 - mse: 0.0328 - mae: 0.1402 - val_loss: 0.1353 - val_mse: 0.0302 - val_mae: 0.1353
11-15 00:12:33, INFO     Done training!
11-15 00:12:33, INFO     Predicting subtomograms for last iterations
11-15 00:13:11, INFO     Done Iteration30!

here the modules installed

absl-py==1.3.0
astunparse==1.6.3
cachetools==5.2.0
certifi==2022.9.24
charset-normalizer==2.1.1
contourpy==1.0.6
cycler==0.11.0
fire==0.4.0
flatbuffers==22.10.26
fonttools==4.38.0
gast==0.4.0
google-auth==2.14.1
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.50.0
h5py==3.7.0
idna==3.4
imageio==2.22.4
importlib-metadata==5.0.0
keras==2.10.0
Keras-Preprocessing==1.1.2
kiwisolver==1.4.4
libclang==14.0.6
Markdown==3.4.1
MarkupSafe==2.1.1
matplotlib==3.6.2
mrcfile==1.4.3
networkx==2.8.8
numpy==1.23.4
oauthlib==3.2.2
opt-einsum==3.3.0
packaging==21.3
Pillow==9.3.0
protobuf==3.19.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==3.0.9
PyQt5==5.15.7
PyQt5-Qt5==5.15.2
PyQt5-sip==12.11.0
python-dateutil==2.8.2
PyWavelets==1.4.1
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.9
scikit-image==0.17.2
scipy==1.9.3
six==1.16.0
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-estimator==2.10.0
tensorflow-gpu==2.10.0
tensorflow-io-gcs-filesystem==0.27.0
termcolor==2.1.0
tf-estimator-nightly==2.8.0.dev2021122109
tifffile==2022.10.10
tqdm==4.64.1
typing_extensions==4.4.0
urllib3==1.26.12
Werkzeug==2.2.2
wrapt==1.14.1
zipp==3.10.0