mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Drop redundant dependency from download_models.py
This commit is contained in:
parent
786726719f
commit
4500eb937f
@ -3,7 +3,6 @@ Helper module to download extra data from Internet
|
|||||||
'''
|
'''
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
import cv2
|
|
||||||
import sys
|
import sys
|
||||||
import yaml
|
import yaml
|
||||||
import argparse
|
import argparse
|
||||||
@ -361,4 +360,4 @@ if __name__ == '__main__':
|
|||||||
if selected_model_name and not m.name.startswith(selected_model_name):
|
if selected_model_name and not m.name.startswith(selected_model_name):
|
||||||
continue
|
continue
|
||||||
print('Model: ' + selected_model_name)
|
print('Model: ' + selected_model_name)
|
||||||
m.get()
|
m.get()
|
||||||
|
Loading…
Reference in New Issue
Block a user