facebookresearch / adaptive_teacher

This repo provides the source code for "Cross-Domain Adaptive Teacher for Object Detection".
Other
183 stars 36 forks source link

When I run the 17th line of adapteacher/checkpoint/detection_checkpoint.py, the ‘model’ in the ‘checkpoint’ is none, could you please tell me the reason? and it tells me that some keys in the weight file are not use #21

Open wha-cloud opened 2 years ago

wha-cloud commented 2 years ago

When I run the 17th line of adapteacher/checkpoint/detection_checkpoint.py, the ‘model’ in the ‘checkpoint’ is none, could you please tell me the reason? and it tells me that some keys in the weight file are not use

image

what‘s more, line 334 of adapter/modeling/meta_arch/rcnn.py uses the ’convert_image_to_rgb‘ function, but the IDE tells me that this function is not defined, where is it defined?

yujheli commented 2 years ago

I will look into your first question. Since the code is borrowed from the previous work, I think the code of checkpoint should not have problems. Will verity.

I think the IDE does not detect the inherited function from generalized RCNN? Could you check and let me know if there is a bug?

zwang123 commented 2 years ago

I got similar issues...

One month has passed since last update from the contributor, and I hope there are some updates :)

yujheli commented 2 years ago

@wha-cloud @zwang123 Are you both still having this issue after re-clone the code? I did not get this issue on my end.

zwang123 commented 2 years ago

@yujheli I am still having the same issue. It would be appreciated if you could test it again!

hnanacc commented 1 year ago

@wha-cloud @zwang123 #50 solves this.