-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bug fixs #2
base: master
Are you sure you want to change the base?
Bug fixs #2
Conversation
/quack review |
/quack review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR 🙏
Other sections
generate_sky_masks.py:L106
main_pipeline_no_lidar.py:L77
For a better experience, it's recommended to check the review comments in the tab Files Changed.
Feedback is a gift! Quack will adjust your review style when you add reactions to a review comment
@@ -105,3 +103,4 @@ def process_folder(folder_to_process, colmap_img_root, mask_path, pic_ext, verbo | |||
file_exts = ['jpg', 'JPG'] | |||
|
|||
process_folder(args.img_dir, args.colmap_img_root, args.mask_root, file_exts, True, args.batchsize) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EOF should be a single blank line
Pattern explanation 👈
Adding a blank line as End of File (EOF) is a convention for file processing to mark the end of a character sequence. For more details, feel free to check this resource.Suggestion
Perhaps we could handle this like so:
Quack feedback loop 👍👎
This comment is about [invalid-eof]. Add the following reactions on this comment to let us know if:- 👍 that comment was on point
- 👀 that doesn't seem right
- 👎 this isn't important for you right now
- 😕 that explanation wasn't clear
@@ -74,6 +74,7 @@ def main(): | |||
if i not in args.skip_step: | |||
print_step(i, "First thorough photogrammetry") | |||
env["thorough_recon"].makedirs_p() | |||
print(env["video_frame_list_thorough"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's avoid print
calls in production-ready code
Pattern explanation 👈
print calls can be useful for developping and debugging. But moving to a production-ready system, users can select the logging level they want to display but prints don't offer that flexibility. For more details, feel free to check this resource.Code example
Here is an example of how this is typically handled:
# print("The payload is empty!")
import logging
logging.warning("The payload is empty!")
Quack feedback loop 👍👎
This comment is about [print-statement]. Add the following reactions on this comment to let us know if:- 👍 that comment was on point
- 👀 that doesn't seem right
- 👎 this isn't important for you right now
- 😕 that explanation wasn't clear
No description provided.