Skip to content

Could you provide weight file? #6

Description

@mengchengyao

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions