OSError: Unable to synchronously open file (file signature not found)

I am deploying my app from github on Streamlit community cloud and giving this error in loading the model but the code is working perfectly fine local host but when i run it on streamlit community cloud it gives this error


here is the link to my github repo: GitHub - srogoobeer/C964

This is a common issue when an app is in community cloud.

  • The model was created using library version x
  • The community cloud is using library version y

Recommendation to prevent this issue.

  • Before creating a model (google colab, etc.), be sure to note all the library versions used.
  • When deployed in community cloud, make sure the library versions are the same.

i have trained my model 3 days ago. How can i get the correct version of the liibraries

To see the version of the library, you can use the command:

pip freeze

or

pip show <name of library>

Your model.h5 is wrong.

Hello I have the same problem could you please help me to solve this?
after running this dnaMD saveAsH5 -tbp 81 -o output.h5 -i L-BP_85_tw8_mismactch.dat,L-BPH_85_tw8_mismactch.dat I need to save data in out.h5 file but I got this error:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File โ€œh5py/_objects.pyxโ€, line 54, in h5py._objects.with_phil.wrapper
File โ€œh5py/_objects.pyxโ€, line 55, in h5py._objects.with_phil.wrapper
File โ€œh5py/h5f.pyxโ€, line 102, in h5py.h5f.open
OSError: Unable to synchronously open file (file signature not found)

FYI:

pip show dnaMD returns :

Name: dnaMD
Version: 2.1.0
Summary: To analyze fluctuations in DNA or RNA structures in molecular dynamics trajectories
Home-page: GitHub - rjdkmr/do_x3dna: To analyze fluctuations in DNA or RNA structures in molecular dynamics trajectories.
License: GNU General Public License v3 (GPLv3)
Location: /home/fatemeh3/miniconda3/lib/python3.11/site-packages
Requires: h5py, numpy, scipy

pip show h5py returns
Name: h5py
Version: 3.11.0
Summary: Read and write HDF5 files from Python
Requires: numpy
Required-by: dnaMD