Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fsl help takes too long #16

Open
ntlhui opened this issue Sep 24, 2024 · 0 comments
Open

fsl help takes too long #16

ntlhui opened this issue Sep 24, 2024 · 0 comments

Comments

@ntlhui
Copy link

ntlhui commented Sep 24, 2024

Importing all libs takes quite a long time.

$ time fsl --help
/home/dronelab/workspace/e4e/fishsense/fishsense-lite/.venv/lib/python3.11/site-packages/pyfishsensedev/library/homography/models/lightglue.py:29: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
/home/dronelab/workspace/e4e/fishsense/fishsense-lite/.venv/lib/python3.11/site-packages/kornia/feature/lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
usage: fishsense-lite [-h] {calibrate-lens,calibrate-laser,field-calibrate-laser,preprocess,process} ...

positional arguments:
  {calibrate-lens,calibrate-laser,field-calibrate-laser,preprocess,process}

options:
  -h, --help            show this help message and exit

real    0m3.242s
user    0m4.481s
sys     0m0.354s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant