Open MarijaI opened 1 year ago
Hi, we have test .pyc file can be used in the same way as .py file when importing functions. Have you tried to run one of the scripts? Did any problems ocurr?
Sry, I can't import pyc file due to a error named "bad magic number in 'cell_type_annotation_model': b'\n\n\n\n'", it is caused by the version of python compiling py to pyc file, could you solve this problem?
Hi, I've test this error, simply downgrading to pytorch 1.8 would solve it.
In order to execute the first example for Spatial-ID it is necessary to import
from cell_type_annotation_model import DNNModel, SpatialModelTrainer
Cell type annotation model is only available in .pyc file, that is, I assume, compiled for some specific CPU. Could you, maybe, provide corresponding .py file or provide instruction how to overcome this issue?Thanks in advance, Marija