Closed rose-jinyang closed 4 years ago
Oh, I fixed the issue. This was due to PyTorch version. I changed Line 96 in mediator.py as the following losses.update(loss.mean().data.cpu().item()) It started to train.
Oh, I fixed the issue. This was due to PyTorch version. I changed Line 96 in mediator.py as the following losses.update(loss.mean().data.cpu().item()) It started to train.
Glad to hear that. The PyTorch version for me was 0.3.1.
Hi I have a question. I'd like to know about threshold in detail. Is this irrelative to face recognition model ? Is this the Euclidean distance threshold between feature vectors ? Please let me know asap. Thanks
Hi, the threshold is the binary classification threshold for MLP. It has nothing to do with the face recognition model. You may have to use a validation set to search this threshold.
Hello Thanks for contributing this paper and code. I had a successful inference with ready-made emore_u200k data and pre-trained CDP model. I tried to retrain CDP model with ready-made emore_l200k in mediator mode. But I met the following issue. I am using a Tesla V100(GPU memory 16GB) and DDR 128GB. PyTorch version is 1.4.0 and Python version is 3.7 I used the following config.yml. I thought that this may be due to lack of GPU memory so I decreased the batch_size from 1024 to 8 but the result was same. Please let me know the reason asap. Thanks