文档检测
This commit is contained in:
8
object_detection/core/paths.py
Normal file
8
object_detection/core/paths.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import pkg_resources
|
||||
|
||||
_package_name = __name__
|
||||
|
||||
|
||||
def get_file_path(*paths):
|
||||
path = "/".join(paths)
|
||||
return pkg_resources.resource_filename(_package_name, path)
|
||||
Reference in New Issue
Block a user