chaoyi-wu / RadFM

The official code for "Towards Generalist Foundation Model for Radiology by Leveraging Web-scale 2D&3D Medical Data".
315 stars 32 forks source link

OsError:Error no file named pytorch_model.bin,tf_model.h5,model.ckpt or flax_model.msgpack found in ./language_fles #22

Open RobsoUganda opened 6 months ago

RobsoUganda commented 6 months ago

image (1)

Hello, Am getting the error as per screenshot when i run the test.py

chaoyi-wu commented 6 months ago

The model will first be loaded in CPU RAM in test. The error indicates your CPU memory is not able to load it and you need a better CPU with larger memory.

Junelin2333 commented 6 months ago

The same problem, I have check the version of transformers lib and merge to version 4.28.1 to solve this problem.

RobsoUganda commented 6 months ago

The model will first be loaded in CPU RAM in test. The error indicates your CPU memory is not able to load it and you need a better CPU with larger memory.

Thank you so much, any recommend minimum amount of RAM I can use to test out the model