Closed oceanheart closed 1 year ago
same error
Got same error
same error
Hi, sorry for the error. I have updated the mask preprocessing script here.
Hi, sorry for the error. I have updated the mask preprocessing script here.
NO, Still have this problem,
seems still doesn't work
I think I have identified the issue. When using masks, multiple canonical images will be generated. Please verify the contents of your result folder after running ./scripts/test_multi.sh
, you should find canonical_0.png
and canonical_1.png
files. Please ensure that all canonical images are placed in the base_control
folder.
I got canonical_0.png and canonical_1.png, so when I run test video translation step, I need translate both of them using text prompts?
I think I have identified the issue. When using masks, multiple canonical images will be generated. Please verify the contents of your result folder after running
./scripts/test_multi.sh
, you should findcanonical_0.png
andcanonical_1.png
files. Please ensure that all canonical images are placed in thebase_control
folder.
There will be two faces in the video
I got canonical_0.png and canonical_1.png, so when I run test video translation step, I need translate both of them using text prompts?
It depends on your requirements. If you intend to transfer the entire video, you should transfer both canonical images. However, if you only wish to transfer the foreground of the video sequences, you will only need to transfer canonical_0.png
.
I got canonical_0.png and canonical_1.png, so when I run test video translation step, I need translate both of them using text prompts?
It depends on your requirements. If you intend to transfer the entire video, you should transfer both canonical images. However, if you only wish to transfer the foreground of the video sequences, you will only need to transfer
canonical_0.png
.
Hello,if I put the thranfered canonical images both "canonical_0_transfered.png" and "canonical_1_transfered.png" to the dir all_sequences/$NAME/$EXP_NAME_control. How will the program distinguish between foreground and background? Is it based on naming or can it be automatically recognized?
File "D:\workspace\CoDeF\train.py", line 214, in forward results = torch.nn.functional.grid_sample( File "C:\Users\ASUS\anaconda3\lib\site-packages\torch\nn\functional.py", line 4244, in grid_sample return torch.grid_sampler(input, grid, mode_enum, padding_mode_enum, align_corners) RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [0, 3, 540, 540] and grid with sizes [1, 291600, 1, 2]
But if I config mask_dir= null, the code runs well.