Pretrained network G has fewer layers; The following are not initialized: ['down0', 'first_layer', 'last_layer', 'up0'] #485
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when i run test_one_image.py exits this issue: Pretrained network G has fewer layers; The following are not initialized: ['down0', 'first_layer', 'last_layer', 'up0']
Same issue with another one on collab file
Pretrained network G has fewer layers; The following are not initialized:
['down0', 'first_layer', 'last_layer', 'up0']
AssertionError Traceback (most recent call last)
in <cell line: 0>()
17 model.eval()
18
---> 19 app = Face_detect_crop(name='antelope', root='./insightface_func/models')
20 app.prepare(ctx_id= 0, det_thresh=0.6, det_size=(640,640))
21
/content/SimSwap/insightface_func/face_detect_crop_multi.py in init(self, name, root)
45 print('duplicated model task type, ignore:', onnx_file, model.taskname)
46 del model
---> 47 assert 'detection' in self.models
48 self.det_model = self.models['detection']
49
AssertionError:
Though this seems to be working
Originally posted by @luoxyhappy in #483
But the results were not that great not sure if I did some mistake