"from gears import PertData, GEARS" encount error
#1
by
PengXia
- opened
File /data/users/xiap2024/project/CellFM/tutorials/Perturbation/gears/model.py:14
12 print(f'loading embedding from {pretrained_model}')
13 ctrl_emb_size = 512
---> 14 ctrl_emb = torch.tensor(np.load(f'../../../dataset/{pretrained_model}-{dataset}.npy'))
15 ctrl_emb_size = ctrl_emb.shape[-1]
...
--> 455 fid = stack.enter_context(open(os.fspath(file), "rb"))
456 own_fid = True
458 # Code to distinguish from NumPy binary files and pickles.
FileNotFoundError: [Errno 2] No such file or directory: '../../../dataset/CellFM-norman.npy'
I can not find the CellFM-norman.npy file, which cause the impot failed.