Zayd Hammoudeh

Results 5 issues of Zayd Hammoudeh

Based on [tmux.vim](https://github.com/tmux-plugins/vim-tmux/blob/4e77341a2f8b9b7e41e81e9debbcecaea5987c85/ftdetect/tmux.vim#L1), the plugin autoloads when the filename satisfies the regex `{.,}tmux*.conf` (please correct me if I am wrong). Some `tmux` tools (e.g., [oh-my-tmux](https://github.com/gpakosz/.tmux)) use alternate naming conventions for...

Summary: We can improve the numerical stability/accuracy of the `calc_loss` method. The current implementation uses the following: ``` def calc_loss(y, t): y = torch.nn.functional.log_softmax(y) loss = torch.nn.functional.nll_loss( y, t, weight=None,...

In the README, it states: > `gpu`: Default = -1,` -1` for calculation on the CPU otherwise GPU id If I am understanding the meaning of "default" here, you are...

In MNIST/CIFAR one and four pixel attacks, the project uses `min` to clip the backdoor perturbations into the valid range. Here is an example: ``` def MNIST_onepixel_triggerfunc(delta): def MNIST_onepixel(X): #X[:,20,20]...