FastSAM icon indicating copy to clipboard operation
FastSAM copied to clipboard

TypeError: torch._VariableFunctionsClass.meshgrid() got multiple values for keyword argument 'indexing'

Open dumppool opened this issue 1 year ago • 1 comments

Run the example script.
python Inference.py --model_path FastSAM-x.pt --img_path .\examples\dogs.jpg

File "d:\ProgramData\Anaconda3\envs\fastsam\lib\site-packages\torch\functional.py", line 504, in _meshgrid return _VF.meshgrid(tensors, **kwargs, indexing ='ij') # type: ignore[attr-defined] TypeError: torch._VariableFunctionsClass.meshgrid() got multiple values for keyword argument 'indexing' Any one know how to solve it?

dumppool avatar Jun 30 '23 04:06 dumppool

Hi @dumppool , this seems like an error from PyTorch. May I ask what your PyTorch version is? Could you provide the code or commands that you executed for our reference?

berry-ding avatar Jun 30 '23 04:06 berry-ding

We would close this issue for now to keep the issue tracker organized. However, if the problem persists or if you have any further questions, please feel free to comment here or open a new issue. We value your input and are happy to assist further.

an-yongqi avatar Jul 06 '23 01:07 an-yongqi