facebookresearch / fastMRI

A large-scale dataset of both raw MRI measurements and clinical MRI images.
https://fastmri.org
MIT License
1.32k stars 374 forks source link

'ExperimentWriter' object has no attribute 'add_image' #333

Closed King-pand closed 5 months ago

King-pand commented 6 months ago

Please: version:fastrmi0.3.0 pytorch_lightning:1.9.4 File "/root/anaconda3/envs/pytorch/lib/python3.8/site-packages/fastmri/pl_modules/mri_module.py", line 152, in log_image self.logger.experiment.add_image(name, image, global_step=self.global_step) AttributeError: 'ExperimentWriter' object has no attribute 'add_image'

mmuckley commented 6 months ago

Hello @King-pand, does the issue resolve if you install tensorboard to your environment?

King-pand commented 6 months ago

Thank you very much for your answer, I solved this problem by downloading Tensorboard.

King-pand commented 6 months ago

Nǐ hǎo, xiǎng wèn yīxià duō xiànquān xīgài cèshì jí shùjù wéi shén me méiyǒu zhēnshí bèijǐng shùjù? Wǒ zhǐ zài cèshì jī shùjù zhòng kàn dàole chóngjiàn shùjù.

Translate by voice

46 / 5,000

Translation results

Translation result Thank you very much. I have solved the above problem by the method you mentioned. I would like to ask why there is no real background data in the multi-coil knee test set data? I only see the reconstructed data in the test machine data.

------------------ 原始邮件 ------------------ 发件人: "facebookresearch/fastMRI" @.>; 发送时间: 2024年3月20日(星期三) 晚上9:11 @.>; @.**@.>; 主题: Re: [facebookresearch/fastMRI] 'ExperimentWriter' object has no attribute 'add_image' (Issue #333)

Hello @King-pand, does the issue resolve if you install tensorboard to your environment?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

mmuckley commented 5 months ago

Closing this as resolved. Please open a discussion for your question.