-
Notifications
You must be signed in to change notification settings - Fork 34
The checkpoint state_dict contains keys that are not used by the model #28
Comments
@ad45675 I did not have this message when I loaded the model. Did you clone the updated code? |
thanks ! i clone the latest code and the problem have been solves! But, after run about thousand iters the below error will occur! ` ERROR:adapteacher.engine.trainer:Exception during training: -- Process 1 terminated with the following error: (py37_zero-XRWy4lKA) nvt05031@oagpu7:~/py37_zero/adaptive_teacher$ /opt/utility/python3.7.2/lib/python3.7/multiprocessing/semaphore_tracker.py:144: UserWarning: semaphore_tracker: There appear to be 196 leaked semaphores to clean up at shutdown Have you ever met this error? |
@ad45675 I did not have this error? Were you running cityscapes when this error occured? Looks like the error happened when building cityscapes_foggy. |
hi,
when I eval or load the model the below warning message will appear.
is it correct for this message?
WARNING [07/29 10:39:53 fvcore.common.checkpoint]: The checkpoint state_dict contains keys that are not used by the model:
modelTeacher.D_img.conv1.{bias, weight}
modelTeacher.D_img.conv2.{bias, weight}
modelTeacher.D_img.conv3.{bias, weight}
modelTeacher.D_img.classifier.{bias, weight}
modelStudent.D_img.conv1.{bias, weight}
modelStudent.D_img.conv2.{bias, weight}
modelStudent.D_img.conv3.{bias, weight}
modelStudent.D_img.classifier.{bias, weight}
The text was updated successfully, but these errors were encountered: