mauckc / colorize-video Goto Github PK
View Code? Open in Web Editor NEWcolorize video using publicly available neural-networks
License: Other
colorize video using publicly available neural-networks
License: Other
Ran into this error trying to run the V2 script:
_python3 colorizeVideoV2.py -i BW.mp4 -o Col.mp4
Starting timing...
[INFO] warming up camera...
Traceback (most recent call last):
File "colorizeVideoV2.py", line 78, in
pts_in_hull = np.load('./pts_in_hull.npy')
File "/usr/local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 444, in load
raise ValueError("Cannot load file containing pickled data "
ValueError: Cannot load file containing pickled data when allow_pickle=False_
(apparently numpy recently changed the default value of allow_pickle?
I added allow_pickle=True to the call
pts_in_hull = np.load('./pts_in_hull.npy', allow_pickle=True)
But then I just got a different error:
Starting timing...
_[INFO] warming up camera...
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 447, in load
return pickle.load(fid, **pickle_kwargs)
EOFError: Ran out of input
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "colorizeVideoV2.py", line 78, in
pts_in_hull = np.load('./pts_in_hull.npy', allow_pickle=True)
File "/usr/local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 449, in load
raise IOError(
OSError: Failed to interpret file './pts_in_hull.npy' as a pickle_
❯ python colorizeVideoV2.py -i '.\video\ color.mp4' -o colorized.mp4
Starting timing...
[INFO] warming up camera...
Traceback (most recent call last):
File "colorizeVideoV2.py", line 78, in <module>
pts_in_hull = np.load('./pts_in_hull.npy')
File "C:\Python38\lib\site-packages\numpy\lib\npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './pts_in_hull.npy'
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.