-
Notifications
You must be signed in to change notification settings - Fork 62
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
Error when running on webcam stream: zsh: no matches found: [1,2,3] #19
Comments
Just ran into the same issue. Got it running by changing webcam.py:23 to: toShow = cv2.resize(toShow, (int(width/2), int(height))) and selecting 1 or 2 or 3. e.g. --resolution 1. Not sure if thats the correct way though. Don't really understand the api there. Maybe the authors can clarify ? :) |
Ahh right, thanks a lot, it worked! 👍 On a side note, how would I manipulate this depth map now (slightly noobish question). What I want to do is split the frames up into a grid and where closest colour (I think it is a yellow so in a yellow RGB range?) and then generate a grid (probably in array format like this) row1 = [1, 0 , 0] Where the 1's represent something close and the 0's represent something not close. Cheers, |
Still having this error after editing the code: ir ./checkpoint/IROS18/pydnet --resolution 1 |
It worked after using python3 instead of python. |
The python webcam.py --checkpoint_dir ./checkpoint/IROS18/pydnet --resolution [1,2,3] to assume that this is supposed to be some sort of array. Examination of the source code for the parser reveals this is certainly not the case. parser.add_argument('--resolution', dest='resolution', type=int, default=1, help='resolution [1:H, 2:Q, 3:E]') Here you can see that it requires a type of The README command, python webcam.py --checkpoint_dir ./checkpoint/IROS18/pydnet --resolution [1,2,3] Shows that there are three options provided by the author; 1, 2 and 3. Please use this command if you are alright with using the default resolution, python webcam.py --checkpoint_dir ./checkpoint/IROS18/pydnet Or, append python webcam.py --checkpoint_dir ./checkpoint/IROS18/pydnet --resolution <1, 2 or 3> Hope this helps close this issue. |
Hi,
I hope that you are well, when attempting to run this code I get the error:
zsh: no matches found: [1,2,3]
Do you know why this is?
I look forward to your response!
AG
The text was updated successfully, but these errors were encountered: