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

fix vid dataloader frame selection #705

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

wr0124
Copy link
Collaborator

@wr0124 wr0124 commented Oct 7, 2024

This dataloader generates a pool of available starting frame numbers for each video series and selects one from that pool. It works with:
python3 -W ignore::UserWarning train.py
--dataroot /path/to/data
--checkpoints_dir /path/to/checkpoints
--name test_debug
--gpu_ids 0
--data_relative_paths
--model_type palette
--data_dataset_mode self_supervised_vid_mask_online
--train_batch_size 1
--train_iter_size 1
--data_num_threads 1
--model_input_nc 3
--model_output_nc 3
--data_relative_paths
--train_G_ema
--train_optim adamw
--G_netG unet_vid
--data_online_creation_rand_mask_A
--train_G_lr 0.0002
--dataaug_no_rotate
--G_diff_n_timestep_train 8
--G_diff_n_timestep_test 3
--data_temporal_frame_step 1
--alg_diffusion_cond_image_creation computed_sketch
--alg_diffusion_cond_computed_sketch_list canny
--diffusion_cond_sketch_canny_range 0 150
--alg_diffusion_vid_canny_dropout 0.0 0.0
--output_print_freq 1
--output_display_freq 1
--data_temporal_number_frames 8
--data_online_creation_crop_size_A 32
--data_online_creation_crop_size_B 32
--data_crop_size 32
--data_load_size 32
--train_compute_metrics_test
--train_metrics_every 1
--train_metrics_list PSNR LPIPS SSIM \

@wr0124 wr0124 requested review from royale and beniz October 7, 2024 10:42
@beniz beniz changed the title debug vid dataloader frame selection fix vid dataloader frame selection Oct 9, 2024
@beniz beniz added the bug Something isn't working label Oct 9, 2024
@beniz beniz merged commit 4ee112d into jolibrain:master Oct 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data:dataloader
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants