Open wyyy04 opened 11 months ago
Thanks for your interest! Please make sure your timm version is 0.3.2, as later versions use a different forward_features
implementation. #9 Please check this issue for a similar problem and solution.
Thank you very much for your guidance. I have resolved the current issue by updating the “timm” to 0.3.2. Best wishes!
Thanks for your excellent work! I am facing difficulties while training RDM, and I hope to receive your assistance.
When training RDM, in ddpm.py, at line 564 in the get_input function, the input x (32, 256, 256, 3) after feature extraction has a shape of (32, 197, 768), where 32 is the batch size. However, an error occurs at line 578 ”rep = self.pretrained_encoder.head(rep)“ with the following traceback:
This appears to be a mismatch between the dimensions of the input x and the model "self.pretrained_encoder.head". I am uncertain about the cause, and I am hopeful to receive your clarification and support. Thank you!