Open silvermoon2000 opened 3 years ago
code- model = models.pose3d_resnet.get_pose_net(config, is_train=False) gpus = [int(i) for i in config.GPUS.split(',')] model = torch.nn.DataParallel(model, device_ids=gpus).cuda() print('Created model...')
checkpoint = torch.load(config.MODEL.RESUME) model.load_state_dict(checkpoint) model.eval() print('Loaded pretrained weights...')
error- checkpoint = torch.load(config.MODEL.RESUME) FileNotFoundError: [Errno 2] No such file or directory: 'models/h36m/fully_supervised.pth.tar'
what should i do plz help me.
code- model = models.pose3d_resnet.get_pose_net(config, is_train=False) gpus = [int(i) for i in config.GPUS.split(',')] model = torch.nn.DataParallel(model, device_ids=gpus).cuda() print('Created model...')
checkpoint = torch.load(config.MODEL.RESUME) model.load_state_dict(checkpoint) model.eval() print('Loaded pretrained weights...')
error- checkpoint = torch.load(config.MODEL.RESUME) FileNotFoundError: [Errno 2] No such file or directory: 'models/h36m/fully_supervised.pth.tar'
what should i do plz help me.