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

Border artifacts #3

Open
Tianyangg opened this issue Jan 9, 2024 · 7 comments
Open

Border artifacts #3

Tianyangg opened this issue Jan 9, 2024 · 7 comments

Comments

@Tianyangg
Copy link

Hello, thank you for presenting your work.I have a question about border artifacts during training.

  • My understanding is the grid-like artifact will gradually gets better during training iterations, but still remain obvious in early training stage, is that the case during your expreiment?
  • And do you think it helps to constrain the consistency between feature collagre output (output shift) and image collage output (otuput nonshift)
@Tianyangg Tianyangg changed the title Boarder artifacts Border artifacts Jan 9, 2024
@zh-ding
Copy link
Contributor

zh-ding commented Jan 10, 2024

Hi, thanks for the questions.

  1. Yes, that's correct. During the training the border artifacts will gradually decrease.
  2. Sorry I may not fully understand your question. Is the image collage output (output nonshift) you mean here the output that does not use the feature collage mechanism?

@Tianyangg
Copy link
Author

Thanks for your reply XD
So return contains two outputs, pred1 is the output with feature collage, and pred2 is the direct output without feature collage (from my understand) so ideally shoud the pred2 stitch in imagespace (and take the center 64 * 64) be similar to the pred 1 output ideally?
image

@zh-ding
Copy link
Contributor

zh-ding commented Jan 17, 2024

Thanks for the clarification. Yes we don't have specific constraints on these two but as they're both used to calculate the loss with the groundtruth so there are indirect constraints applied on them. The main point here is to let the decoder fuse the collaged features from the encoder to alleviate the border artifacts.

@oscarwooberry
Copy link

Hello, thank you for presenting your work.I have a question about border artifacts during training.

  • My understanding is the grid-like artifact will gradually gets better during training iterations, but still remain obvious in early training stage, is that the case during your expreiment?
  • And do you think it helps to constrain the consistency between feature collagre output (output shift) and image collage output (otuput nonshift)

May I ask how long took you to remove the artifacts? I was training for days and the grid artifact still remains.

@Tianyangg
Copy link
Author

Hello, thank you for presenting your work.I have a question about border artifacts during training.

  • My understanding is the grid-like artifact will gradually gets better during training iterations, but still remain obvious in early training stage, is that the case during your expreiment?
  • And do you think it helps to constrain the consistency between feature collagre output (output shift) and image collage output (otuput nonshift)

May I ask how long took you to remove the artifacts? I was training for days and the grid artifact still remains.

Personally I'm working with 3D images, which requires lots of days (always more than a week) to get images with good quality, and from my experiements i would say the global condition is the key for removing boarder artifacts, do you have that in your experiments?

@oscarwooberry
Copy link

Hello, thank you for presenting your work.I have a question about border artifacts during training.

  • My understanding is the grid-like artifact will gradually gets better during training iterations, but still remain obvious in early training stage, is that the case during your expreiment?
  • And do you think it helps to constrain the consistency between feature collagre output (output shift) and image collage output (otuput nonshift)

May I ask how long took you to remove the artifacts? I was training for days and the grid artifact still remains.

Personally I'm working with 3D images, which requires lots of days (always more than a week) to get images with good quality, and from my experiements i would say the global condition is the key for removing boarder artifacts, do you have that in your experiments?

It took me more than 1 week but still won't produce meaningful results, the grid still exists and the output images were hard to recognize. and yes I used the clip as global condition as the instruction suggested(initialize.py), with that, we can set semantic_enc false right? Another potential problem is that my image is high resolution for training(1k+) and the dataset is relatively small.

@zh-ding
Copy link
Contributor

zh-ding commented Mar 25, 2024

I'm not sure what's the exact dataset you're using. In our experiments on the natural images datasets (contains around 20,000 images), we train for around 2 weeks on a 8xA6000 machine. The CLIP embeddings might not be a good initialization if your dataset is OOD for CLIP. I think you can try decreasing the resolution a bit or increasing the patch resolution if your resolution is too high now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants