-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi
Thank you for you great tool.
I got an error with Weight file does not exist :
I1201 06:25:53.961278 140041887356736 cell_bin.py:33] Next run: TissueSeg -> CellSeg -> CellLabelling.
E1201 06:25:55.513174 140041887356736 tissue.py:36] Not found weights file in D:\code\mine\gitlab\stereocell\stereocell\segmentation\weights\stereocell_bcdu_tissue_512x512_220822.onnx.
I1201 06:25:56.042373 140041887356736 onnx_net.py:22] Use CPU to inference the image.
W1201 06:25:56.042608 140041887356736 onnx_net.py:36] Weight file does not exist in D:\code\mine\gitlab\stereocell\stereocell\segmentation\weights\stereocell_bcdu_tissue_512x512_220822.onnx.
Traceback (most recent call last):
pred = self._model.run(None, {self._input_name: np.expand_dims(np.array([img], dtype=np.float32), axis=3)})[0]
AttributeError: 'NoneType' object has no attribute 'run'
Does it mean did not find weight file?
weights.json
{
"cell": {
"weights_path": "D:\code\mine\gitlab\stereocell\stereocell\segmentation\weights\stereocell_bcdu_cell_256x256_221008.onnx",
"input": [256, 256]
},
"tissue": {
"weights_path": "D:\code\mine\gitlab\stereocell\stereocell\segmentation\weights\stereocell_bcdu_tissue_512x512_220822.onnx",
"input": [512, 512]
}
How could I get this file?
And I coult download this file with url:https://pan.genomics.cn/ucdisk/s/f6VJve