repo stringclasses 147
values | number int64 1 172k | title stringlengths 2 476 | body stringlengths 0 5k | url stringlengths 39 70 | state stringclasses 2
values | labels listlengths 0 9 | created_at timestamp[ns, tz=UTC]date 2017-01-18 18:50:08 2026-01-06 07:33:18 | updated_at timestamp[ns, tz=UTC]date 2017-01-18 19:20:07 2026-01-06 08:03:39 | comments int64 0 58 ⌀ | user stringlengths 2 28 |
|---|---|---|---|---|---|---|---|---|---|---|
pytorch/TensorRT | 146 | ❓ [Question] How to convert at::tensor into nvinfer1::ITensor? | ## ❓ Question
how to convert at::tensor into nvinfer1::ITensor?
## What you have already tried
I tried to run resnet101 using trtorch, however, there was an error when compiling the graph.
As a result of my analysis
TRTorch/core/conversion/converters/impl/element_wise.cpp
```
"aten::div.Tensor(Tensor... | https://github.com/pytorch/TensorRT/issues/146 | closed | [
"question"
] | 2020-07-17T12:49:26Z | 2020-07-20T21:26:24Z | null | zhanjw |
pytorch/vision | 2,481 | How to use torchvision roi_align? | I'm confused about the input parameter `boxes` and output of `torchvision.ops.roi_align`. Now I have an input image and one bbox coordinate `[x1, y1, x2, y2]`. Does `roi_align` directly return the region determined by the coordinate?
For exampe, here is my test code:
```python
import torch
from torchvision.ops ... | https://github.com/pytorch/vision/issues/2481 | closed | [
"question",
"module: ops"
] | 2020-07-17T04:57:15Z | 2021-03-09T01:56:32Z | null | xuantengh |
pytorch/TensorRT | 139 | 🐛 [Bug] Fail to build the NVIDIA TRTorch container on AGX device with JetPack 4.4 | ## Bug Description
I was following this page of [instruction](https://github.com/NVIDIA/TRTorch/tree/master/notebooks#1-requirements).
Command:
```
$ sudo docker build -t trtorch -f Dockerfile.notebook .
```
Output:
```
[sudo] password for nvidia:
Sending build context to Docker daemon 44.18MB
Step 1... | https://github.com/pytorch/TensorRT/issues/139 | closed | [
"question",
"platform: aarch64"
] | 2020-07-16T02:05:18Z | 2020-07-20T06:13:49Z | null | chiehpower |
pytorch/android-demo-app | 76 | how to get outputTensor as 3d float[][][]? | the output of my network is 3d, but getDataAsFloatArray() can only return a 1d float[]
float[] outArr = outputTensor.getDataAsFloatArray(); | https://github.com/pytorch/android-demo-app/issues/76 | open | [] | 2020-07-14T06:23:26Z | 2020-08-25T03:46:28Z | null | Xiaofeng-life |
pytorch/vision | 2,469 | ImageNet pre-trained model code and hyper-parameters | Hi,
Is the code used to trained the torchvision models (especially Resnet) on ImageNet available ? What are the hyper-parameters used ? Did you use specific methods (dropout, weight decay, specific augmentation such as cutout...etc) during training ?
Thank you very much | https://github.com/pytorch/vision/issues/2469 | closed | [
"question",
"module: reference scripts"
] | 2020-07-14T05:35:23Z | 2020-07-14T06:58:07Z | null | Jobanan |
pytorch/TensorRT | 132 | Bug about native compilation on NVIDIA Jetson AGX | ## 🐛 Bug
After I installed the bazel from scratch on AGX device, I directly build it by bazel. However, I got the error like below.
```
$ bazel build //:libtrtorch --distdir third_party/distdir/aarch64-linux-gnu
Starting local Bazel server and connecting to it...
INFO: Repository trtorch_py_deps ins... | https://github.com/pytorch/TensorRT/issues/132 | closed | [
"documentation",
"question",
"platform: aarch64"
] | 2020-07-14T03:30:25Z | 2020-07-17T18:02:12Z | null | chiehpower |
pytorch/pytorch | 41,328 | How to transform from input points to rendered image | https://github.com/pytorch/pytorch/issues/41328 | closed | [] | 2020-07-13T06:15:35Z | 2020-07-14T02:50:59Z | null | Gaozhongpai | |
pytorch/pytorch | 41,309 | How to make build_pytorch_android.sh running with python 3 on mac? | Hi all, I was trying to following the tutrials from https://pytorch.org/mobile/android/#building-pytorch-android-from-source.
when I run the
> git clone https://github.com/pytorch/pytorch.git
> cd pytorch
> sh ./scripts/build_pytorch_android.sh
It reports me the error such that
> File "/Users/huanghe... | https://github.com/pytorch/pytorch/issues/41309 | closed | [] | 2020-07-11T15:54:32Z | 2020-07-12T02:46:13Z | null | hehedaozuiteng |
huggingface/transformers | 5,682 | What is the decoder_input for encoder-decoder transformer in training time? | https://datascience.stackexchange.com/questions/76261/whats-the-input-dimension-for-transformer-decoder-during-training
Is the link's answer right?
Thank you very much! | https://github.com/huggingface/transformers/issues/5682 | closed | [] | 2020-07-11T10:48:07Z | 2020-07-12T03:32:38Z | null | guotong1988 |
pytorch/TensorRT | 130 | Can't compile python package | I am able to compile the CXX API, but the python package fails with the error:
```
fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^~~~~~~~~~~
compilation terminated.
```
A quick search confirms that ``NvInfer.h`` is not in the repo, so I assume it is part of LibTorch / cuDNN ... | https://github.com/pytorch/TensorRT/issues/130 | closed | [
"question",
"component: build system",
"No Activity"
] | 2020-07-10T05:28:08Z | 2020-08-18T00:06:25Z | null | IgnacioJPickering |
pytorch/vision | 2,449 | Custom Weights for Pytorch Hub for yolo v5 |
Hello
Just wanted to know if there a way of import yolo v5 model using PyTorch Hub and then loading my custom weights on top of it. | https://github.com/pytorch/vision/issues/2449 | closed | [
"question",
"module: models",
"module: hub"
] | 2020-07-10T04:47:29Z | 2020-07-10T06:49:43Z | null | sakshamjn |
pytorch/xla | 2,328 | What is tracker.rate() and tracker.global_rate() | ## ❓ Questions and Help
Hello, I am still trying pytorch tpu. In the pytorch tpu mnist colab tutorial. It uses tracker.rate() and tracker.global_rate(). What are these two things? Thank you! | https://github.com/pytorch/xla/issues/2328 | closed | [] | 2020-07-08T13:22:35Z | 2020-07-09T08:19:03Z | null | sharkdeng |
pytorch/text | 874 | how to keep tracking the record using original id? | ## ❓ Questions and Help
Hi, I have a dataset and each record has its own id and some meta info. I want to keep tracking the record using id so that I know which output is for which record. I tried use Filed but it give the error, TypeError: '<' not supported between instances of 'Example' and 'Example'
`
src =... | https://github.com/pytorch/text/issues/874 | open | [] | 2020-07-08T12:26:00Z | 2020-07-08T12:26:00Z | null | Marvinmw |
pytorch/pytorch | 41,065 | How to use (torch.utils.data.DataLoader) in android? | Now , I try running PSENet in Android . Project urls : https://github.com/whai362/PSENet
Its testcode need (torch.utils.data.DataLoader)。 you can look PSENet Project .> test_ic15.py 72 lines
I have torch==1.4.0 change PSENet.pth ==> PSENet.pt and model load in Android is OK。But,
next I don't kno... | https://github.com/pytorch/pytorch/issues/41065 | closed | [
"triaged",
"module: android",
"oncall: mobile"
] | 2020-07-07T08:28:30Z | 2020-07-08T20:35:26Z | null | Micla-SHL |
pytorch/pytorch | 41,064 | When using _MultiProcessingDataLoaderIter in Dataloader, how to add a filelock in Dataset to make the file io thread-safety? | ## ❓ Questions and Help
When I use DataLoader to load a dataset consisted of several files, I find when I cannot set the `num_workers > 0` because it will occurs a Error `TypeError: function takes exactly 5 arguments (1 given)`.
When I set `shuffle = True` into DataLoader, this Error when occur randomly (e.g. I wi... | https://github.com/pytorch/pytorch/issues/41064 | closed | [
"module: dataloader",
"triaged"
] | 2020-07-07T07:18:47Z | 2020-07-12T03:19:32Z | null | GeekOrangeLuYao |
pytorch/vision | 2,400 | DownSample | https://github.com/pytorch/vision/blob/86b6c3e22e9d7d8b0fa25d08704e6a31a364973b/torchvision/models/resnet.py#L195
Why don't we need a downsample in this loop?? | https://github.com/pytorch/vision/issues/2400 | closed | [
"question"
] | 2020-07-07T03:17:34Z | 2020-07-07T09:21:55Z | null | jianjiandandande |
huggingface/transformers | 5,564 | Where is the documentation on migrating to the 3.0 tokenizer API? | I see that you folks have completely changed the API to do tokenizing, e.g. for BertTokenizer. I have a lot of code using the two methods `encode_plus()` and `batch_encode_plus()`, and when I went to the [documentation](https://huggingface.co/transformers/main_classes/tokenizer.html) to look up an argument, I found tha... | https://github.com/huggingface/transformers/issues/5564 | closed | [] | 2020-07-07T03:17:26Z | 2020-07-07T21:15:04Z | null | githubrandomuser2017 |
pytorch/examples | 799 | How to use my own backbone? | https://github.com/pytorch/examples/issues/799 | closed | [] | 2020-07-06T03:31:29Z | 2022-03-09T21:37:54Z | null | wangbin2018 | |
pytorch/vision | 2,393 | Mask R-CNN: get all the parts and train specific ones | Hi,
I would like to access all the different parts of Mask R-CNN in order to only train some of them.
I learnt in the discussion forum that I can use `requires_grad` to enable/disable training, but how can I access all the `trainable` parts?
Thanks,
| https://github.com/pytorch/vision/issues/2393 | closed | [
"question"
] | 2020-07-05T09:21:15Z | 2020-07-07T09:33:13Z | null | FiReTiTi |
pytorch/vision | 2,391 | How to Change All BN layers to GN layers? | i tried this :
```
import torchvision.models as models
model = models.resnet18()
#then this :
for name, module in model.named_modules():
if isinstance(module, nn.BatchNorm2d):
# Get current bn layer
bn = getattr(model, name)
# Create new gn layer
gn = nn.GroupNorm(... | https://github.com/pytorch/vision/issues/2391 | closed | [
"invalid"
] | 2020-07-04T09:52:25Z | 2020-07-07T09:31:44Z | null | mobassir94 |
pytorch/vision | 2,390 | Excessive memory consumption while using DistributedDataParallel | ## 🐛 Bug
TL;DR : While using `DistributedDataParallel` and multiple GPU, memory consumption on each GPU seems to be more than twice as much as what is observed when without using `DistributedDataParallel` on a single GPU.
## To Reproduce
I have been using FasterRCNN from Torchvision’s models that uses Distri... | https://github.com/pytorch/vision/issues/2390 | closed | [
"question"
] | 2020-07-04T06:46:25Z | 2020-07-07T09:44:35Z | null | Sentient07 |
pytorch/examples | 797 | train from last weight | Can this project continue training from the last saved weight?I trained one epoch with seven hours.and now I want to train on it basis | https://github.com/pytorch/examples/issues/797 | open | [
"help wanted"
] | 2020-07-02T12:47:38Z | 2022-03-10T00:06:38Z | 1 | Muxindawang |
huggingface/transformers | 5,447 | Where did "prepare_for_model" go? What is the replacement? | I'm working with already numericalized data (e.g., where the text has been converted to ids via `tokenizer.tokenize()`) and was using `prepare_for_model` to build the appropriate input dictionary ... ***but*** that method is gone in 3.0.
So ... what should I use/do now?
Thanks | https://github.com/huggingface/transformers/issues/5447 | closed | [] | 2020-07-01T19:20:34Z | 2020-07-03T14:51:22Z | null | ohmeow |
pytorch/pytorch | 40,855 | Don't know how to translate op Conv | (sent here from https://github.com/onnx/onnx/issues/2822)
I'm only seeing this error on Windows. It's working fine on Linux (Docker).
I can't find any other issues or documentation, but I get the impression that the op registry is not populated fully. Is there some kind of setup that I need to go through? Prerequ... | https://github.com/pytorch/pytorch/issues/40855 | closed | [] | 2020-07-01T08:40:42Z | 2020-07-01T14:42:50Z | null | Korijn |
pytorch/examples | 795 | Under the Mnist-Hogwild framework, how to use multi-gpu computing? | When I execute the code example of mnist_hogwild, I find that multiple processes are running parallelly on one gpu. Question: Can multiple processes be executed in parallel on multiple GPUs? | https://github.com/pytorch/examples/issues/795 | open | [
"distributed"
] | 2020-06-29T08:21:04Z | 2022-03-09T20:56:18Z | null | Wang-Zhenxing |
pytorch/tutorials | 1,038 | Simplify numpy function call in object detection tutorial | In the second code block in the tutorial, the line `pos = np.where(masks[i])` has been used to get the indices of the non zero points in the image. But [numpy documentation for `np.where()`](https://numpy.org/doc/1.18/reference/generated/numpy.where.html) advises to use [`np.nonzero()`](https://numpy.org/doc/1.18/refer... | https://github.com/pytorch/tutorials/issues/1038 | closed | [
"torchvision",
"docathon-h1-2023",
"easy"
] | 2020-06-23T09:30:21Z | 2023-10-05T17:20:12Z | 4 | ashok-arjun |
huggingface/transformers | 5,204 | T5 Model : What is maximum sequence length that can be used with pretrained T5 (3b model) checkpoint? | As the paper described, T5 uses a relative attention mechanism and the answer for this [issue](https://github.com/google-research/text-to-text-transfer-transformer/issues/273) says, T5 can use any sequence length were the only constraint is memory.
According to this, can I use T5 to summarize inputs that have more ... | https://github.com/huggingface/transformers/issues/5204 | closed | [] | 2020-06-23T02:36:22Z | 2023-08-29T21:43:31Z | null | shamanez |
pytorch/pytorch | 40,257 | How to get pytorch 1.4? | Pytorch 1.4 is not in this list https://pytorch.org/get-started/previous-versions/
I tried to replace the 1.2 to 1.4 as below, but still it didnt work
`conda install pytorch==1.4.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch` | https://github.com/pytorch/pytorch/issues/40257 | closed | [] | 2020-06-19T00:42:18Z | 2020-06-19T03:44:09Z | null | ivder |
huggingface/neuralcoref | 259 | getting a none value for `print(doc._.coref_clusters)` | hey people, I have attached code and the output. As you can see I am getting a none value when I am trying to `print(doc._.coref_clusters)` and the code above line in the given program is giving the output well and good. why is this? something related to new version bugs or something like that? please respond, thanks.... | https://github.com/huggingface/neuralcoref/issues/259 | closed | [
"question"
] | 2020-06-18T19:12:59Z | 2020-06-19T07:58:38Z | null | chettipalli |
pytorch/tutorials | 1,033 | A PR to fix typos failed build/deploy (#1001) | I corrected some typos in chatbot_tutorial.py and opened a pull request #1001 .
Only texts written in a comment of a .py file were modified, but I got build fail.
Is there any guideline to cope with such case?
I don't know why but some PR like #1017, which just corrects a typo, was successfully built. | https://github.com/pytorch/tutorials/issues/1033 | closed | [] | 2020-06-18T14:17:47Z | 2021-06-07T21:51:03Z | 1 | lewha0 |
pytorch/vision | 2,329 | A problem of multiclassifier task with Squeezenet trained on VOC2012 | I got a problem when I dealed with a multiclassifier task with squeezenent on VOC2012. I just wrote a train code, and called the '''torchversion.models.squeezenet1_1''', changed num_classes. I used '''torch.nn.MultiLabelSoftMarginLoss()''' for my loss function. However, my loss never changed when I trained my network. ... | https://github.com/pytorch/vision/issues/2329 | closed | [
"invalid",
"question"
] | 2020-06-18T08:48:09Z | 2020-07-07T15:07:28Z | null | JiahangWu |
pytorch/pytorch | 40,165 | How to replace a parameter with other variable while keeping the backpropagation? | For example, now I have a parameter 'D' in the model.
Now I want to replace the 'D' with 'C', where 'C = a+b'. Is there anyway in pytorch that can achieve that replacement while keeping the backpropagation between 'C' and 'a+b'. (e.g., training the model will update the value of 'a' and 'b'.
I've tried D.data = C... | https://github.com/pytorch/pytorch/issues/40165 | closed | [] | 2020-06-17T14:41:18Z | 2020-06-17T22:04:06Z | null | kunwuz |
pytorch/tutorials | 1,032 | Adversarial example generation by FGSM: different normalization of training vs test images? | In the Adversarial example generation tutorial the classifier from https://github.com/pytorch/examples/tree/master/mnist is used. However, this classifier is trained with input normalization `transforms.Normalize((0.1307,), (0.3081,))` while in the FGSM tutorial no normalization is used and the perturbed images are cl... | https://github.com/pytorch/tutorials/issues/1032 | closed | [
"docathon-h1-2023",
"medium"
] | 2020-06-17T13:09:32Z | 2023-06-12T20:41:43Z | 3 | hookxs |
pytorch/text | 828 | How to fix the order of data in iterator during training step? | ## ❓ Questions and Help
**Description**
<!-- Please send questions or ask for help here. -->
Currently, I'm running experiments with several datasets in torchtext, and I just found that I can't reproduce my experiments although I excluded all the possible randomness as following:
torch.manual_seed(seed)
... | https://github.com/pytorch/text/issues/828 | open | [
"new datasets and building blocks"
] | 2020-06-17T06:23:45Z | 2020-06-29T19:32:14Z | null | seewoo5 |
pytorch/vision | 2,325 | pytorch pre-trained models preprocessing results 9 images | I am using vgg16 and for preprocessing I use transforms module (as used in the documentation)
and I don't know why, but when it takes my image as input, it outputs 9 small copy of the input image and combines them into one single image (nonetheless the output is correct)
is it a problem? | https://github.com/pytorch/vision/issues/2325 | closed | [
"question"
] | 2020-06-16T20:24:38Z | 2020-06-19T10:00:17Z | null | aliamiri1380 |
pytorch/tutorials | 1,029 | questions about "CHATBOT TUTORIAL", some meaningless words at the end of the genertated sentences. | n_iteration set to 8000, the results as follow:
D:\ProgramData\Anaconda3\envs\pytorch\python.exe "some/3evaluate_use.py"
Building encoder and decoder ...
Models built and ready to go!
> 不明白你说啥麻烦您老说明白点
Building prefix dict from the default dictionary ...
Loading model from cache some\jieba.cache
Loading model c... | https://github.com/pytorch/tutorials/issues/1029 | closed | [
"Text"
] | 2020-06-16T01:53:46Z | 2023-03-17T20:02:26Z | 3 | jobsfan |
pytorch/xla | 2,225 | How to call tensor.item() on single proc after a collective op ? | ## ❓ Questions and Help
Hi, I'm trying to log tensor value by calling `res[0].item()` in a single process after `all_reduce` on this tensor. Execution seems to hang.
To reproduce:
```python
import torch
import torch_xla.core.xla_model as xm
import torch_xla.distributed.xla_multiprocessing as xmp
def test... | https://github.com/pytorch/xla/issues/2225 | closed | [
"stale"
] | 2020-06-15T12:15:45Z | 2020-07-25T08:02:46Z | null | vfdev-5 |
pytorch/serve | 459 | How to avoid contention between models, workers and runtime parallelism? | Hi! this is a question, not an issue
I see that TorchServe can serve multiple models or multiple workers per model. For example the [AWS blog](https://aws.amazon.com/blogs/machine-learning/deploying-pytorch-models-for-inference-at-scale-using-torchserve/) says "If your model is hosted on a CPU with many cores such a... | https://github.com/pytorch/serve/issues/459 | closed | [
"question",
"triaged_wait"
] | 2020-06-15T09:07:21Z | 2020-10-22T04:06:27Z | null | la-cruche |
pytorch/pytorch | 40,016 | how to load weights when using torch.nn.parallel.DistributedDataParallel? | platform: linux 16.04 ;python==3.8.2, pytorch==1.4.0-gpu
Stand-alone multi-card
I try to load weights when using torch.nn.parallel.DistributedDataParallel to load model, There have be wrong.
model = torch.nn.parallel.DistributedDataParallel(model,device_ids=[args.local_rank],output_device=args.local_rank,f... | https://github.com/pytorch/pytorch/issues/40016 | closed | [
"needs reproduction",
"oncall: distributed",
"triaged"
] | 2020-06-15T03:53:06Z | 2020-06-18T02:52:03Z | null | aboy2018 |
pytorch/examples | 790 | DCGAN kernel_size | DCGAN kernel_size why is 4,or why not 3(Isn't odd number more common) | https://github.com/pytorch/examples/issues/790 | closed | [] | 2020-06-14T02:46:12Z | 2022-03-09T21:38:43Z | 1 | yixiyixi5 |
huggingface/neuralcoref | 257 | Load new trained model | Dear guys,
Thank you so much for your interesting works. I was able to train a new model based on [this instruction](https://github.com/huggingface/neuralcoref/blob/master/neuralcoref/train/training.md) and this [blog post](https://medium.com/huggingface/how-to-train-a-neural-coreference-model-neuralcoref-2-7bb30c1a... | https://github.com/huggingface/neuralcoref/issues/257 | open | [
"question"
] | 2020-06-13T16:14:52Z | 2021-07-15T07:32:04Z | null | SysDevHayes |
pytorch/serve | 456 | How to use management API in Sagemaker? e.g how to change batch size | Hi,
Is it possible to use management api to a sagemaker deployed model?
I am trying to increase the batch size but I don't know if it is doable in sagemaker.
Can we just customise it (batch size) through config.properties so it will apply when sagemaker deploy the model ?
Thanks
| https://github.com/pytorch/serve/issues/456 | closed | [] | 2020-06-13T02:06:41Z | 2020-06-14T23:28:44Z | null | bananemure |
pytorch/TensorRT | 98 | What does it all mean Bazel? | Please specify what version to Bazel this needs to be built with? Also please make sure you can actually compile that version for aarch64 on the Jetpacks Nvidia provides for its products. If can't be compiled on aarch64 please fix this. Nvidia should really do a better job of making sure its stuff is able to be comp... | https://github.com/pytorch/TensorRT/issues/98 | closed | [
"question"
] | 2020-06-12T16:50:08Z | 2020-06-13T00:04:07Z | null | oasisgunter |
pytorch/pytorch | 39,939 | How to resolve this issue in pycharm? ERROR: Could not find a version that satisfies the requirement torch>=1.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) I have installed through command promt but still it is showing same issue as before. | ## ❓ Questions and Help
### Please note that this issue tracker is not a help form and this issue will be closed.
We have a set of [listed resources available on the website](https://pytorch.org/resources). Our primary means of support is our discussion forum:
- [Discussion Forum](https://discuss.pytorch.org/)... | https://github.com/pytorch/pytorch/issues/39939 | closed | [] | 2020-06-12T10:05:42Z | 2020-06-12T10:10:52Z | null | RizwanShaukat936 |
pytorch/pytorch | 39,936 | How to deploy C++ LibTorch in Windows XP 32bit? | I want to deploy a CNN model in Windows XP 32 bit, and here are my operations:
compile LibTorch-1.4.0 32bit with VS2017;
finish the C++11 code and the .exe run successfully in win10 and win7 32bit;
The code fails in XP which reports “MSVCP140.dll is invalid”.
I want to use VS2015_XP to compile and avoid the error... | https://github.com/pytorch/pytorch/issues/39936 | closed | [] | 2020-06-12T07:37:04Z | 2020-06-12T14:29:35Z | null | SakuraRiven |
pytorch/TensorRT | 96 | Error when trying to build with compiled binaries | I am building an application with TRTorch precompiled binaries, and I am able to compile full precision and half precision graphs successfully.
I run into build errors while trying to compile the int8 graph
as long as I include this line
```
auto calibrator = trtorch::ptq::make_int8_calibrator(std::move(calibrat... | https://github.com/pytorch/TensorRT/issues/96 | closed | [
"question",
"No Activity"
] | 2020-06-12T03:17:18Z | 2020-07-19T00:03:52Z | null | tsaizhenling |
huggingface/transformers | 4,937 | What is the different options for pooler_type in Bert config ? | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | https://github.com/huggingface/transformers/issues/4937 | closed | [] | 2020-06-11T14:26:20Z | 2020-06-18T07:26:02Z | null | ClementViricel |
pytorch/tutorials | 1,022 | math text size is too small | 
I cannot easily read what's written in the equations. The Math is rendering very small on Blitz page.
[Here](https://pytorch.org/tutorials/beginner/blitz/autograd_tutorial.html). How can I he... | https://github.com/pytorch/tutorials/issues/1022 | closed | [] | 2020-06-11T11:14:34Z | 2021-06-07T22:28:11Z | 7 | PradeepSinghMakwana |
pytorch/pytorch | 39,778 | How to Build Stable PyTorch (not from master) from source and output Wheel? | Currently, in the PyTorch docs the suggested way of building from source includes the following main commands:
```bash
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py install
```
The clone command gets... | https://github.com/pytorch/pytorch/issues/39778 | closed | [] | 2020-06-10T13:15:19Z | 2020-06-10T13:43:16Z | null | RafayAK |
pytorch/xla | 2,191 | How to aggregate per-process statistics in xmp.spawn? | ## ❓ Questions and Help
I am using the idiom:
```
xmp.spawn(_mp_fn, args=(), nprocs=1, start_method='fork')
```
where my `_mp_fn` calls `xm.optimizer_step(optim)`
Is there any way to combine the other statistics (loss, various stats on gradients etc) across processes and report just the aggregate for each m... | https://github.com/pytorch/xla/issues/2191 | closed | [] | 2020-06-10T06:01:33Z | 2020-06-12T00:21:38Z | null | hrbigelow |
pytorch/TensorRT | 90 | Issues When Using Compiled Binaries | After compiling TRTorch on an x86 machine, and copying the outputted binaries to another machine, then using them in an include directory, I get the following error when compiling my code:
```
/usr/bin/ld: warning: libnvinfer.so.7, needed by /home/caelin/Github/br-core/ros2_ws/src/br-detection/include/trtorch/lib/lib... | https://github.com/pytorch/TensorRT/issues/90 | closed | [
"question",
"No Activity"
] | 2020-06-10T00:39:26Z | 2020-09-11T00:05:16Z | null | caelinsutch |
pytorch/pytorch | 39,641 | What is the difference between torch.mean and caffe2 ReduceMean? | ## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
I manually convert the model from Caffe2 to Pytorch. I built the full architecture of the model in Pytorch using weights from a Caffe2. In Caffe2, the model has a ReduceMean layer, which in Pytorch I replaced with torch.mean. As a result of th... | https://github.com/pytorch/pytorch/issues/39641 | closed | [] | 2020-06-07T19:58:45Z | 2020-06-08T18:15:33Z | null | dryarullin |
huggingface/datasets | 246 | What is the best way to cache a dataset? | For example if I want to use streamlit with a nlp dataset:
```
@st.cache
def load_data():
return nlp.load_dataset('squad')
```
This code raises the error "uncachable object"
Right now I just fixed with a constant for my specific case:
```
@st.cache(hash_funcs={pyarrow.lib.Buffer: lambda b: 0})
```... | https://github.com/huggingface/datasets/issues/246 | closed | [] | 2020-06-06T11:02:07Z | 2020-07-09T09:15:07Z | null | Mistobaan |
huggingface/transformers | 4,817 | Question: Where do I find the Transformer model from the paper "Attention is all you need" ? | Hello
Firstly, thanks for supporting all questions here.
I read the paper "Attention is all you need" and wondering which class should I use in the HuggingFace library to use the Transformer architecture used in the paper.
Can you please advise?
Thanks
Abhishek | https://github.com/huggingface/transformers/issues/4817 | closed | [] | 2020-06-06T10:34:56Z | 2020-06-08T22:37:27Z | null | abhisheksgumadi |
pytorch/TensorRT | 84 | TRTorch on torchvision ResNet152 | Hi,
I tried the script below and get error messages and a segmentation fault. Is this a bug or am I doing it wrong?
`import copy
import itertools
import logging
import numpy as np
import os
import sys
import torch
import torchvision.models
import trtorch
def torchvision_benchmark():
os.envi... | https://github.com/pytorch/TensorRT/issues/84 | closed | [
"question"
] | 2020-06-05T21:23:22Z | 2020-07-03T20:04:26Z | null | esghif |
pytorch/pytorch | 39,573 | What is the difference between 0.4.1 and 0.4.1.post2? | ## ❓ Questions and Help
### Please note that this issue tracker is not a help form and this issue will be closed.
We have a set of [listed resources available on the website](https://pytorch.org/resources). Our primary means of support is our discussion forum:
- [Discussion Forum](https://discuss.pytorch.org/)... | https://github.com/pytorch/pytorch/issues/39573 | closed | [] | 2020-06-05T10:52:13Z | 2020-06-06T00:22:18Z | null | Lucksong |
pytorch/pytorch | 39,561 | How to replace the original model's classes with new class | ## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
## Motivation
<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
## Pitch
... | https://github.com/pytorch/pytorch/issues/39561 | closed | [] | 2020-06-05T04:59:14Z | 2020-06-06T00:14:52Z | null | Aiswariyasugavanam |
pytorch/vision | 2,286 | Architecture differences in Zoo Models ? | Hi, I am comparing few zoo models implementation in DL4J with Pytorch zoo models and found
that the padding in Convolution layers does not match most of time ?
For **Resnet50 and SqueezeNet** :
In DL4J, they **do not** apply padding : [0, 0] ; while in PyTorch they have padding [1, 1].
This results in different... | https://github.com/pytorch/vision/issues/2286 | closed | [
"question",
"module: models",
"topic: classification"
] | 2020-06-04T06:22:57Z | 2020-06-05T09:19:08Z | null | nitin2212 |
pytorch/text | 806 | torchtext and training of a Transformer | Hello
I am a bit confused about training my pytorch Transformer.
I am using the code below to pre-process the Penn Treebank corpus before I analyze it with my (non pre-trained) Transformer:
```python
# define the English text field
TEXT_ch2 = Field(init_token = '<sos>',
eos_token = '<eos>',
... | https://github.com/pytorch/text/issues/806 | closed | [
"question"
] | 2020-06-04T02:22:17Z | 2020-06-04T14:14:12Z | null | h56cho |
pytorch/vision | 2,285 | Finetuning deeplab/FCN | How do I fine tune deeplabv3 ? | https://github.com/pytorch/vision/issues/2285 | closed | [
"question",
"module: reference scripts",
"topic: semantic segmentation"
] | 2020-06-03T20:53:38Z | 2020-06-05T09:16:56Z | null | gaussiangit |
pytorch/tutorials | 1,010 | Tutorial on custom dataloaders (NOT datasets) | I really like [this](https://pytorch.org/tutorials/beginner/data_loading_tutorial.html#iterating-through-the-dataset) tutorial on custom datasets. However, the `torch.utils.data.DataLoader` class is only briefly mentioned in it:
>However, we are losing a lot of features by using a simple for loop to iterate over the... | https://github.com/pytorch/tutorials/issues/1010 | open | [
"enhancement",
"60_min_blitz",
"advanced",
"docathon-h2-2023"
] | 2020-06-03T13:18:03Z | 2025-05-20T10:14:47Z | 11 | mhdadk |
pytorch/examples | 784 | Difference between src_mask and src_key_padding_mask | I am having a difficult time in understanding transformers. Everything is getting clear bit by bit but one thing that makes my head scratch is what is the difference between src_mask and src_key_padding_mask which is passed as an argument in forward function in both encoder layer and decoder layer.
https://pytorch.o... | https://github.com/pytorch/examples/issues/784 | open | [
"nlp"
] | 2020-06-03T10:53:19Z | 2022-03-09T21:39:01Z | 0 | saahiluppal |
pytorch/TensorRT | 79 | Does TRTorch support bail-out mechanism? | A neural network model may have some operators which aren't supported by TensorRT.
When TensorRT cannot compile a subgraph, can the execution of the subgraph invoke torch operators again? Can a model execution mix TensorRT and vanilla torch operators? | https://github.com/pytorch/TensorRT/issues/79 | closed | [
"question",
"component: execution",
"No Activity"
] | 2020-06-03T10:21:27Z | 2020-07-10T00:03:57Z | null | shiwenloong |
pytorch/pytorch | 39,427 | How to save tensor to 16-bit image? | So, I have a Tensor, which represents my 16-bit 3-channel image and I wanna save it. How could I do this? I was trying
```
torchvision.utils.save_image(gt[j], f"hdr_{j+1}.tiff")
```
But seems like it works only for 8-bit images... Could someone help me to save my tensor to 16-bit 3-channel image(any format would... | https://github.com/pytorch/pytorch/issues/39427 | closed | [] | 2020-06-03T02:54:45Z | 2020-06-03T15:16:12Z | null | wh75er |
pytorch/TensorRT | 78 | Support Tuple Inputs | Hello. I am working with a model that takes in a tuple of inputs of different sizes. Is there a way to handle this within the existing TRTorch framework? I am attempting to compile the model with the following settings but get the accompanied error. I am running form source version on commit 247c748.
Compile settin... | https://github.com/pytorch/TensorRT/issues/78 | closed | [
"question",
"component: api [Python]",
"No Activity"
] | 2020-06-01T19:35:26Z | 2020-07-05T00:06:46Z | null | Michael-Equi |
huggingface/neuralcoref | 256 | Can't locate CorScorer.pm | Dear guys,
Thank you for your interesting works. I'm training the model for new language (Dutch) using the SoNars corpus. Due to the fact that SoNars was in MMAX, I used the modification of this script (https://github.com/andreasvc/dutchcoref/blob/master/mmaxconll.py) to convert it to CONLL format.
After that, I ... | https://github.com/huggingface/neuralcoref/issues/256 | closed | [
"question"
] | 2020-05-31T10:33:59Z | 2021-11-02T14:06:49Z | null | SysDevHayes |
pytorch/pytorch | 38,976 | How to load the trained weights in libtorch to continue the training? | How to load the trained weights in libtorch to continue the training?I can't find an example.
libtorch 1.5
| https://github.com/pytorch/pytorch/issues/38976 | closed | [] | 2020-05-25T08:39:26Z | 2020-05-26T18:52:27Z | null | williamlzw |
pytorch/pytorch | 38,965 | what is the difference of 'torch.onnx._export()' and 'torch.onnx.export()'? | ## ❓ Questions and Help
Sorry, I can not understand.
When the inputs are same, their output files(onnx file) are difference .
| https://github.com/pytorch/pytorch/issues/38965 | closed | [] | 2020-05-24T15:12:42Z | 2024-05-16T06:29:50Z | null | cs-xiao |
pytorch/TensorRT | 68 | TRTorch with CUDA 10.0 | Hi,
I tried installing TRTorch on my Ubuntu 16.04, PyTorch 1.5 compiled from source, CUDA 10.0, CUDNN 7.6.
I am getting a symbol error in all configurations I tried. I am grateful for any help.
`seh2bp@trtorch:/workspace$ python -c "import torch; import trtorch"
Traceback (most recent call last):
File "<s... | https://github.com/pytorch/TensorRT/issues/68 | closed | [
"question"
] | 2020-05-23T08:48:38Z | 2020-06-05T21:16:24Z | null | esghif |
pytorch/vision | 2,254 | Using `vision.references` | Hi,
I was wondering if there was a way by which I can use the modules inside `vision.references`, especially `vision.references.detection.engine`'s `train_one_epoch` method. At the moment, I am unable to import and use it rather would have to copy-paste or download. Could this be simplified into an import? (by addin... | https://github.com/pytorch/vision/issues/2254 | closed | [
"question",
"module: reference scripts"
] | 2020-05-23T06:19:33Z | 2020-05-29T10:32:56Z | null | Sentient07 |
pytorch/examples | 778 | Runtime error when trying to run dcgan.cpp example | I am new to libtorch and I was completing the featured example to learn Pytoch C++ frontend.
I downloaded the cmake and dcgan.cpp files from git and was able to cmake it on a cluster using the clang-llvm/11 compilers. I am using libtorch files downloaded from https://download.pytorch.org/libtorch/nightly/cu100/libtorc... | https://github.com/pytorch/examples/issues/778 | closed | [] | 2020-05-23T02:17:54Z | 2020-05-23T02:51:29Z | 0 | namehta4 |
pytorch/vision | 2,250 | cuda10.0 support for torchvision6 | I try to install torchvision6-cu100 with pip but failed, I can only find the cu92 and cu101 version, is there no support for cuda10.0 ? | https://github.com/pytorch/vision/issues/2250 | closed | [
"question",
"topic: binaries"
] | 2020-05-21T17:13:19Z | 2020-05-21T18:20:42Z | null | feihuidiqiu |
pytorch/TensorRT | 62 | How to use local pytorch instead of installing again. | Hi Naren,
glad to see that you check-in py binding and test.
TRTorch needs to install pytorch and torchvision again and I know it is easy to build trt from scratch.
But as a developer, I always build and set pytorch env locally and do need to install it again. Could you help provide options to call local pytorch in... | https://github.com/pytorch/TensorRT/issues/62 | closed | [
"question",
"component: build system",
"component: api [Python]",
"No Activity"
] | 2020-05-19T09:52:44Z | 2020-06-27T00:03:18Z | null | alanzhai219 |
pytorch/vision | 2,237 | fresh installation of pytorch 1.5 and torchvision .6 yields error with docs | ## 🐛 Bug
using the latest installations from the pytorch recommended conda line, along with the following required libraries
```
cython
pycocotools
matplotlib
```
I was able to hit an error in the line given under https://github.com/pytorch/vision/blob/master/references/detection/README.md
for performing... | https://github.com/pytorch/vision/issues/2237 | closed | [
"question",
"module: reference scripts",
"topic: object detection"
] | 2020-05-19T07:15:13Z | 2020-05-20T10:32:24Z | null | EMCP |
pytorch/serve | 363 | Best practice question - how to chain multiple models together for pipeline process? | Hi all - I couldn't find anything in the documentation so wondering if there is a recommendation for how to chain multiple models together in an internal pipeline?
Example - we need to take an incoming image, do obj detection , then do a seperate mdoel classification from items cropped and zoomed, return the result...... | https://github.com/pytorch/serve/issues/363 | closed | [] | 2020-05-19T05:16:35Z | 2020-05-19T19:37:08Z | null | lessw2020 |
pytorch/xla | 2,092 | How to set XLA random seed | ## ❓ Questions and Help
On CPU (same from run to run):
```python
torch.manual_seed(0)
torch.zeros(5).uniform_()
# tensor([0.4963, 0.7682, 0.0885, 0.1320, 0.3074])
torch.manual_seed(0)
torch.zeros(5).uniform_()
# tensor([0.4963, 0.7682, 0.0885, 0.1320, 0.3074])
```
On XLA (different from run to run):
``... | https://github.com/pytorch/xla/issues/2092 | closed | [] | 2020-05-18T19:13:07Z | 2020-05-18T19:21:22Z | null | myleott |
pytorch/tutorials | 998 | Per-tutorial dependencies/build | Current documented instructions say how to build tutorials tell you how to install dependencies and the build ALL of the tutorials at once. If you want to work on a single tutorial, this is not great, since many of the tutorials are quite involved (in terms of the dependencies they need, what external resources they ne... | https://github.com/pytorch/tutorials/issues/998 | open | [
"build issue"
] | 2020-05-15T14:16:25Z | 2021-07-27T23:25:51Z | 1 | ezyang |
pytorch/pytorch | 38,542 | How to use torch::where? | libtorch 1.5
How to use torch::where? for emample:
-------------------------------------------------
import torch
import numpy as np
cc=np.array(range(0,24)).reshape(-1,4)
validIndex=np.where( ((cc[:,:2]>=0) & (cc[:,2:]>(1,2))).all(axis=1) )[0]
print(validIndex)
>>[0 1 2 3 4 5]
-------------------------------... | https://github.com/pytorch/pytorch/issues/38542 | closed | [] | 2020-05-15T07:09:05Z | 2020-05-15T21:48:30Z | null | williamlzw |
pytorch/serve | 343 | Docker: How to add your .mar files? | Dear all,
Could you please update the doc showing how to use your `.mar` files and `model-store` dir with docker? Assuming I have a stored `.mar` and `model-store` dir locally on my pc and I want to run `torchserve` on docker with them, what should I do? Is there an option to add the `mar` file? The docker page of `... | https://github.com/pytorch/serve/issues/343 | closed | [
"documentation",
"duplicate",
"triaged_wait"
] | 2020-05-13T14:37:23Z | 2020-06-09T23:39:52Z | null | FrancescoSaverioZuppichini |
pytorch/examples | 770 | Building cpp example with libtorch fails with LibTorch downloaded from the website | I have tried to build some of the examples and the codes which have been tested before. But When updated the libtorch version I keep getting the following error. I downloaded the libtorch from website.
Ubuntu 18.04
c++14
make 10.0
One of the tested Example: [https://github.com/dendisuhubdy/libtorch_examples.gi... | https://github.com/pytorch/examples/issues/770 | closed | [] | 2020-05-13T11:53:26Z | 2020-05-17T16:28:00Z | 1 | Gfuse |
pytorch/tutorials | 995 | data_loading_tutorial.py iterators | I like this tutorial but I think it would be better if it included an example of how to define __next__() and __iter__() methods so that the dataset can be used with `enumerate`. | https://github.com/pytorch/tutorials/issues/995 | closed | [
"data loading",
"docathon-h1-2023",
"medium"
] | 2020-05-12T21:55:37Z | 2023-06-02T15:45:12Z | 3 | patricknaughton01 |
pytorch/vision | 2,205 | Some issues in conv_transpose2d. | Recently I met this problem bothering me.
In TensorFlow, there is a funciton:
`tf.nn.conv2d_transpose(
input, filters, output_shape, strides, padding='SAME', data_format='NHWC',
dilations=None, name=None
)`
But in PyTorch:
`torch.nn.functional.conv_transpose2d(input, weight, bias=None, stride=1, padding=... | https://github.com/pytorch/vision/issues/2205 | closed | [
"invalid",
"question"
] | 2020-05-12T04:30:00Z | 2020-05-12T13:21:51Z | null | dhiyu |
pytorch/pytorch | 38,129 | how to get the libtorch code from the python? | 
in the python, it's easy to slice, but in the libtorch i don't find any information about it? so please tell me how to get the code from the above python code? thanks | https://github.com/pytorch/pytorch/issues/38129 | closed | [] | 2020-05-08T17:26:41Z | 2020-05-08T17:52:13Z | null | Peterisfar |
pytorch/tutorials | 987 | where is folder "reference"? | At toturial [https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html](https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html#putting-everything-together),
in Putting Everything Together, a couple of files under folder `reference` is mentioned, yet this folder has never shown up before. I did... | https://github.com/pytorch/tutorials/issues/987 | closed | [] | 2020-05-08T04:34:31Z | 2020-05-09T02:18:05Z | null | feiyangsuo |
pytorch/text | 758 | How to apply Torchtext convenience classes to prepare data for a Transformer | Hello,
Reading the tutorial [Language Translation with torchText](https://pytorch.org/tutorials/beginner/torchtext_translation_tutorial.html) I wondered how someone could use those convenience classes (`Field, BucketIterator`) to train/fine-tune a `Transformer` such as those available at [Huggingface](https://github.c... | https://github.com/pytorch/text/issues/758 | closed | [] | 2020-05-06T23:47:51Z | 2020-05-07T13:54:37Z | null | celsofranssa |
pytorch/text | 757 | How to apply torchtext to prepare data for a transformer | Hello,
Reading the tutorial [Language Translation with torchText](https://pytorch.org/tutorials/beginner/torchtext_translation_tutorial.html) I wondered how someone could use those convenience classes (`Field, BucketIterator`) to train/fine-tune a `Transformer` such as those available at [Huggingface](https://github.c... | https://github.com/pytorch/text/issues/757 | closed | [
"legacy"
] | 2020-05-06T23:47:18Z | 2022-06-23T21:46:27Z | null | celsofranssa |
huggingface/swift-coreml-transformers | 19 | What GPT-2 model is distilled here? | Is it the gpt2-small (124M), gpt2-medium (345M), gpt2-large (774M), or the gpt-xl (1.5B) that this implementation uses out of the box? | https://github.com/huggingface/swift-coreml-transformers/issues/19 | closed | [] | 2020-05-05T02:08:49Z | 2023-04-01T18:01:45Z | null | philipkd |
pytorch/tutorials | 977 | is the log softmax function missing in the Transformer Example? | Hello,
The tutorial (https://pytorch.org/tutorials/beginner/transformer_tutorial.html) describes the Transformer paper and says that "... .To have the actual words, the output of nn.TransformerEncoder model is sent to the final Linear layer, which is followed by a log-Softmax function." The code, however, does return ... | https://github.com/pytorch/tutorials/issues/977 | closed | [] | 2020-05-04T19:41:07Z | 2020-09-13T13:52:55Z | 2 | hilfe123 |
pytorch/xla | 2,026 | How are kernel implementations registered to PyTorch | ## ❓ Questions and Help
Hi,
I was wondering how the PyTorch dispatcher finds the kernel implementations for functions defined in `aten_xla_type_default.h`
and what is the purpose of `RegisterAtenTypeFunctions ` | https://github.com/pytorch/xla/issues/2026 | closed | [] | 2020-05-04T16:32:41Z | 2020-05-08T19:14:16Z | null | a2bhulla |
pytorch/vision | 2,175 | ModuleNotFoundError: No module named 'torchvision.models.detection' | I have pytorch1.1.0 and torchvision0.2.2 installed in my anaconda environment.
I can: 1. `import torch`; 2.`import torchvision` (following the toturial) Yet when `from torchvision.models.detection.faster_rcnn import FastRCNNPredictor`, error raised as:
```
Traceback (most recent call last):
File "<input>", line 1... | https://github.com/pytorch/vision/issues/2175 | closed | [
"question",
"module: models",
"topic: object detection"
] | 2020-05-03T06:51:40Z | 2020-05-04T12:33:56Z | null | feiyangsuo |
pytorch/xla | 2,021 | How to run nprocs > 1 on local CPU using the XRT client ? | ## ❓ Questions and Help
I would like to test locally some code with `xmp.spawn(..., nprocs=8)`. When I use suggested env vars in https://github.com/pytorch/xla/blob/master/CONTRIBUTING.md#running-the-tests, my tests pass with nprocs=1 and fail with nprocs > 1 complaining about gRPC
```
2020-05-02 23:51:20.896158: ... | https://github.com/pytorch/xla/issues/2021 | closed | [] | 2020-05-03T00:05:20Z | 2020-05-03T00:44:06Z | null | vfdev-5 |
pytorch/xla | 2,000 | How are operations recorded once tensors are dispatched to XLA | ## ❓ Questions and Help
In the pytorch/xla docs it states "XLA tensors, on the other hand, are lazy. They record operations in a graph until the results are needed"
I was wondering once pytorch dispatches to XLA how this recording occurs. Does the creation of an XLATensor also create a node for this operations whic... | https://github.com/pytorch/xla/issues/2000 | closed | [
"stale"
] | 2020-04-30T20:13:08Z | 2020-06-06T21:04:18Z | null | a2bhulla |
pytorch/vision | 2,167 | engine.py error while following tutorial | ## 📚 Documentation
I have found this library via the examples at https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html
I ran the google colab and that successfully finished.. however when I go to copy `master` from here and use it locally I am getting an error..
Engine.py line
, 1}), 0.3);
cout << keep.sizes() << endl;
int keep_end = min(750, (int)keep.size(0));
cout << keep_end << endl;
keep = keep.index({Slice(), keep_end});
```
How to index 1 dimension tensor in libtorch?
... | https://github.com/pytorch/pytorch/issues/37478 | closed | [] | 2020-04-29T03:15:08Z | 2020-04-29T03:28:45Z | null | Edwardmark |
pytorch/vision | 2,151 | Cannot train deeplabv3_resnet50 with batch size of 1 | ## 🐛 Bug
<!-- A clear and concise description of what the bug is. -->
## To Reproduce
Steps to reproduce the behavior:
1. train a `deeplabv3_resnet50`
1. call `forward` with tensor of shape: `torch.Size([1, 3, 240, 320])` (batch with single colour image)
1. receive error message: `ValueError: Expected mo... | https://github.com/pytorch/vision/issues/2151 | closed | [
"question",
"module: models",
"topic: semantic segmentation"
] | 2020-04-28T17:05:52Z | 2020-04-28T17:47:30Z | null | christian-rauch |
pytorch/elastic | 97 | How to run elastically on kubernetes (nnodes vs worker replicas) | ### Question
- On the frontpage README.md of the repo it says to run Elastic on 1 ~ 4 nodes, 8 trainers/node, total 8 ~ 32 trainers. Job starts as soon as 1 node is healthy, you may add up to 4 nodes.
```
python -m torchelastic.distributed.launch
--nnodes=1:4
--nproc_per_node=8
... | https://github.com/pytorch/elastic/issues/97 | closed | [] | 2020-04-27T18:58:03Z | 2020-04-30T16:29:37Z | null | mttcnnff |
pytorch/pytorch | 37,341 | how to covert libtorch model to onnx model in libtorch1.5 | how to convert libtorch model to onnx model in libtorch1.5 . how to convert libtorch model to tensorrt model in libtorch ?
cc @houseroad @spandantiwari @lara-hdr @BowenBao @neginraoof | https://github.com/pytorch/pytorch/issues/37341 | closed | [
"module: onnx",
"triaged"
] | 2020-04-27T11:03:44Z | 2020-04-27T15:13:44Z | null | williamlzw |
pytorch/java-demo | 10 | how to build demo with javac | Thanks for the tutorial.
Well, could you pls write a guide start from javac for the users who are not familiar with Gradle.
Thanks again.
---
when running the app, I had always got this.

| https://github.com/pytorch/java-demo/issues/10 | closed | [] | 2020-04-26T19:57:31Z | 2020-05-03T10:08:38Z | null | fzwqq |
pytorch/TensorRT | 45 | Build Project failed with Bazel | Hi,
I configure the env and try to build such project.
INFO: Analyzed target //:libtrtorch (34 packages loaded, 1830 targets configured).
INFO: Found 1 target...
INFO: Deleting stale sandbox base /home/xxx/.cache/bazel/_bazel_xxx/2ed6247d0d5238dab6f58f41a8e8ad4b/sandbox
ERROR: missing input file 'external/tenso... | https://github.com/pytorch/TensorRT/issues/45 | closed | [
"question",
"component: build system"
] | 2020-04-26T04:02:19Z | 2020-04-30T03:59:00Z | null | alanzhai219 |
pytorch/vision | 2,144 | Negative Samples in Faster RCNN training results in NaN RPN_BOX_REG Loss | Overview:
I updated torch and torchvision to the latest builds. A cool update was that now negative samples could be included in RCNN training. However, I end up getting a NaN value for loss_rpn_box_reg when I provide negative samples.
I was training a Pedestrian Detector. Based on my custom dataset input, if a la... | https://github.com/pytorch/vision/issues/2144 | closed | [
"question",
"module: models",
"topic: object detection"
] | 2020-04-24T23:00:57Z | 2021-08-13T13:19:57Z | null | praneet195 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.