Skip to content
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

feat(ml): inference_vid with canny #696

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

wr0124
Copy link
Collaborator

@wr0124 wr0124 commented Sep 18, 2024

Video Inference Debugging
1 With Canny Edge Detection:

  • First Frame: Apply Canny edge detection.
  • Subsequent Frames: Use the same noise mask as the first frame.

2 Without Canny Edge Detection:

  • All Frames: Use the same noise mask throughout the sequence.

cd scripts/
mkdir -p ../inference_mario_bz
python3 -W ignore::UserWarning gen_vid_diffusion.py
--model_in_file /path/to/checkpoints/test_mario_vid_example_canny_drop2/latest_net_G_A.pth
--img_in /path/to/paths_part.txt
--paths_in_file /path/to/online_mario2sonic_full_mario/trainA/paths.txt
--mask_in /paths_part.txt
--dir_out ../inference_mario_bz
--sampling_steps 1000
--gpuid 2
~

@wr0124 wr0124 requested review from royale and beniz September 18, 2024 15:55
@wr0124 wr0124 changed the title inference_vid for canny feat(ml): inference_vid with canny Sep 19, 2024
@beniz beniz merged commit 930f3ce into jolibrain:master Sep 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants