-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rp cannot load video on linux #7
Comments
Hi! Please try Python 3.10. The syntax warnings are harmless, you can ignore all of them. |
I know this is probably a bit tangential to the machine learning work of this repo, but if at all possible, I would recommend trying to make a conda environment for the project. That way, if it "works on your machine", it should work on others' machines too. I also failed making this run on Linux yesterday, albeit with a different error. 🤷 Very excited about trying it out though! |
stacktrace is : root@tom-System-Product-Name:/workspace/Go-with-the-Flow# python3 make_warped_noise.py bear/bear.mp4 noise_output going toi test it with python 3.10 |
Hi! Can you please try to share bear.mp4? Perhaps it's specific to that video. |
I was following the youtube tutorial until the step with using ryan_infer.py which is not in the repo. I guess make_warped_noise.py is the substitute. link to the complete output folder : https://www.dropbox.com/scl/fo/qwj9amidu08zu0677yxot/AFL8SojP0jk3F6sX1c3_xaA?rlkey=2bcyeamoidfhp4j9xrvqfasde&st=ah08t0a8&dl=1 complete log:
for completenes, my pip3 list :
|
Hi, project looks good! But I have a problem to make noise. Using rp, it cannot load video
if isinstance(video,str):
video=rp.load_video(video)
even getting correct path to the video, the output is just empty list. looks like rp has some issues ...
root@tom-System-Product-Name:/workspace# cd /workspace ; /usr/bin/env /usr/bin/python3 /root/.vscode-server/extensions/ms-python.debugpy-2024.14.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher 56417 -- /workspace/Go-with-the-Flow/make_warped_noise.py /workspace/Go-with-the-Flow/camera_copy/camera.mp4 --output_folder ccc
/usr/local/lib/python3.12/dist-packages/rp/r.py:13155: SyntaxWarning: invalid escape sequence '\d'
r=requests.get('http://latex.codecogs.com/png.latex?\dpi{300} \huge %s' % formula)
/usr/local/lib/python3.12/dist-packages/rp/r.py:13348: SyntaxWarning: invalid escape sequence '\s'
"""
/usr/local/lib/python3.12/dist-packages/rp/r.py:16260: SyntaxWarning: invalid escape sequence '\ '
lines=_iterfzf(lines,multi=True,exact=True,preview='echo {} | nl -b a -v 0 -s\|\ \ | fold -w %i'%preview_width) #
/usr/local/lib/python3.12/dist-packages/rp/r.py:21743: SyntaxWarning: invalid escape sequence '\p'
"""
/usr/local/lib/python3.12/dist-packages/rp/r.py:24818: SyntaxWarning: invalid escape sequence '_'
"""
/usr/local/lib/python3.12/dist-packages/rp/r.py:32398: SyntaxWarning: invalid escape sequence '\s'
"""
/usr/local/lib/python3.12/dist-packages/rp/r.py:33584: SyntaxWarning: invalid escape sequence ';'
conf='''
/usr/local/lib/python3.12/dist-packages/rp/r.py:33739: SyntaxWarning: invalid escape sequence '\l'
path='%LOCALAPPDATA%\lazygit\config.yml'
/usr/local/lib/python3.12/dist-packages/rp/r.py:33778: SyntaxWarning: invalid escape sequence '\K'
"""
/usr/local/lib/python3.12/dist-packages/rp/r.py:35726: SyntaxWarning: invalid escape sequence '\ '
"""
The text was updated successfully, but these errors were encountered: