-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi,
Thanks for making the code publicly available. I had some questions about the implementation and it would be great if you could clarify them.
-
I had some trouble understanding when the classifier is updated? Does the algorithm involve first tuning the embedding function (assuming random weights of classifier) and then updating the classifier? Or since the embedding function updates depend on the weights of the classifier(because of the boundary adversarial example), does this happen iteratively (update the embedding function, then classifier, again the embedding function and so on)?
-
I was also facing issues running the code on Python3 with Pytorch 1.7.1. Training runs smoothly, but when running evaluation_finetune.py, I get "RuntimeError: derivative for floor_divide is not implemented" when backpropagating the loss. I had some trouble understanding which operation was causing this error.
Thanks.