datature / resources Goto Github PK
View Code? Open in Web Editor NEWA repository of resources used in our tutorials and guides ⚡️
License: MIT License
A repository of resources used in our tutorials and guides ⚡️
License: MIT License
DeeoSORT notebook at this path
https://github.com/datature/resources/tree/main/example-scripts/tracking/DeepSORT
is generating this error.
video_path = "./pexels-rodnae-productions-5699922.mp4" # this video must be there in pwd
model_path = "./model" # dir model must be in pwd. It must contain some infor about the model as weights, configurations, or other resources used by a machine learning model.
output_vid_trk_path = "./output_" + video_path.split("./")[1].split(".")[0] + ".mp4"
size = "320,320"
threshold = "0.7"
output_format = "mp4v"
COLORS = np.random.randint(0, 255, size=(200, 3))
start = time.time()
output_vid = DeepSORT(
video_path, model_path, size, threshold, output_format, output_vid_trk_path, COLORS
)
end = time.time()
print(
"Tracking by DeepSORT for " + video_path + " takes " + str(int(end - start)) + "s."
)
Error
OSError Traceback (most recent call last)
in <cell line: 10>()
8
9 start = time.time()
---> 10 output_vid = DeepSORT(
11 video_path, model_path, size, threshold, output_format, output_vid_trk_path, COLORS
12 )
4 frames
/usr/local/lib/python3.10/dist-packages/tensorflow/python/saved_model/loader_impl.py in parse_saved_model(export_dir)
117 raise IOError(f"Cannot parse file {path_to_pbtxt}: {str(e)}.") from e
118 else:
--> 119 raise IOError(
120 f"SavedModel file does not exist at: {export_dir}{os.path.sep}"
121 f"{{{constants.SAVED_MODEL_FILENAME_PBTXT}|"
OSError: SavedModel file does not exist at: ./model/saved_model/{saved_model.pbtxt|saved_model.pb}
This video must be there in present working dir, but ?I cannot findany
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.