Vadim Kantorov
Vadim Kantorov
I made an experimental wrapper: https://github.com/vadimkantorov/pydlpack/blob/master/dlpack.py#L107 The most difficult part is managing memory / capsules. Currently it's sort of move-semantics (and deallocation is done in C). I'm sure you'd be...
A related issue in onnxruntime: https://github.com/microsoft/onnxruntime/issues/4162. Not sure where this feature request should belong There is [DenseTensor](https://github.com/microsoft/onnxruntime/blob/3530ce541cbb66f05e523f92b62cebaa4793bd3f/csharp/src/Microsoft.ML.OnnxRuntime/Tensors/DenseTensor.cs) type in Microsoft ML/onnxruntime. It would be good to have standard example wrapper...
All fields seem to be padded with zeros up to 11 objects. How to find out the true number of objects?
I wrote an unpacker that saves the images/masks in the folders (for ease of interop with PyTorch): https://github.com/vadimkantorov/yet_another_pytorch_slot_attention/blob/master/clevr_with_masks.py#L66 . But the unpacker keeps running beyond 85K images. How many images...
It is useful in object detection context to allow arbitrary sizes by doing dynamic mask computation (probably possible only with relative position encoding). These kinds of edits were done in...
Should something like below work for wrapping ResNet's last layer (`Neck`)? (https://gist.github.com/vadimkantorov/67fe785ed0bf31727af29a3584b87be1) ```python import torch import torch.nn as nn class SequentialBackprop(nn.Module): def __init__(self, module, batch_size = 1): super().__init__() self.module =...
1. In what part of code do you handle this? `In practice, conflicts happen when we force the yˆ(·, r) to be a one-hot vector since the same region can...
1. Do I understand correctly that in practice for existing configs, only `ROIWeakRegHead` ends up used? (so box_head isn't used) 2. Do I understand correctly that ROI-pooling is done only...
Coming from https://github.com/apls777/spotty/issues/44, it's sometimes needed to launch a regular instance for dataset downloads and preprocessing on a CPU instance without occasional instance termination (preprocess scripts get messy otherwise). For...
Another usecase is remote builds when a fully-fledged CI is overkill. E.g. CUDA or Emsciprten builds that are particularly slow. This is often the case for hobby, open-source work. Being...