Check for broken links (#1422)
Co-authored-by: Joris LIMONIER <joris.limonier@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
9e58c32c15
commit
30fc4b537f
18 changed files with 77 additions and 35 deletions
|
|
@ -153,7 +153,7 @@ def check_source(source):
|
|||
elif isinstance(source, torch.Tensor):
|
||||
tensor = True
|
||||
else:
|
||||
raise TypeError('Unsupported image type. See docs for supported types https://docs.ultralytics.com/predict')
|
||||
raise TypeError('Unsupported image type. For supported types see https://docs.ultralytics.com/modes/predict')
|
||||
|
||||
return source, webcam, screenshot, from_img, in_memory, tensor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue