-
Hi,
I have been implementing decoupled sampling of GPs and bumped into a rather strange issue. I tried to simplify it by the following piece of code, which is a sparse GP example in which we try to…
-
`bs` is not defined and should probably be `batch_size`
```python
def train(model, input_data, target_data, batch_size=500, iterations=5):
criterion = MSELoss()
optim = SGD(paramet…
-
For bleeding/label noise tracks
-
```def train(train_loader, model, optimizer, epoch, criterion):
model.train()
for epoch_ in range(epoch):
optimizer.clear_grad()
for batch_idx, (data, label) in enumerate(t…
-
Update example at https://github.com/pytorch/examples/blob/main/mnist/main.py to use torch.compile features
-
In the MNIST code, around line 57 (I think), the following code is wrong in my opinion
``` for data, target in test_loader: ```
It should be replaced by
``` for idx,(data, target) in test_loader…
-
# Automatic differentiation from scratch | Emilio’s Blog
Automatic differentiation (AD) is one of the most important features present in modern frameworks such as Tensorflow, Pytorch, Theano, etc. AD…
-
When I try to decrypt a encrypted Lenet-5 model, a mistake occured.
```
File "/home/by/anaconda3/lib/python3.7/site-packages/crypten/nn/module.py", line 175, in encrypt
requires_grad = param.…
-
I have a shema that includes enum values which has the same names as macro defines.
```
```
It generates to:
```
static const Enum MACRO1;
static const Enum MACRO2;
static c…
-
This issue carries on the discussion at https://github.com/JuliaStats/Roadmap.jl/issues/14 with the intend to make things more concrete. To start with this, I see a list of apparent questions and TODO…