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

install errors #37

Open
XipengY opened this issue Apr 24, 2023 · 3 comments
Open

install errors #37

XipengY opened this issue Apr 24, 2023 · 3 comments

Comments

@XipengY
Copy link

XipengY commented Apr 24, 2023

Thanks for your interesting work!
I have installed cvpods, and import cvpods success, but converted to coco-p10 directory and run "pods_train --dir ." and got error:

AttributeError: 'SemiRunner' object has no attribute 'angular_update'.
image

what can i do for this error!

@ZayneYe
Copy link

ZayneYe commented May 22, 2023

一样的问题,解决了吗

@PlutoQyl
Copy link

PlutoQyl commented Jun 4, 2023

You can add this in runner:
def _write_metrics(self, loss_dict, data_time: float, prefix: str = ""):
super(DefaultRunner, self)._write_metrics(loss_dict, data_time, prefix)
if comm.is_main_process() and self.iter != 0:
writer: TensorboardXWriter = self.get_writer(writer_type="tensorboard")
writer.write_angular_update(self.optimizer)

@XipengY
Copy link
Author

XipengY commented Aug 10, 2023

@PlutoQyl Thanks, It works for me!

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