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
huggingface/sentence-transformers
635
sbert.net is down. Where can I view list of pretrained models?
https://github.com/huggingface/sentence-transformers/issues/635
closed
[]
2020-12-19T12:16:46Z
2020-12-19T14:10:36Z
null
mani-rai
pytorch/vision
3,188
Cannot Build With FFmpeg Support
## ❓ Questions and Help ### Cannot Build With FFmpeg Support Hi. While trying to build `torchvision` from source, I've seen this output: ``` + python3 setup.py build Building wheel torchvision-0.8.2 PNG found: True libpng version: 1.6.37 Building torchvision with PNG image support libpng include path:...
https://github.com/pytorch/vision/issues/3188
closed
[ "question", "topic: build", "module: video" ]
2020-12-18T15:41:06Z
2021-11-16T07:26:28Z
null
KumaTea
huggingface/datasets
1,600
AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong? ``` from datasets import load_dataset dataset = load_dataset('csv', data_files='data.txt') dataset = dataset.train_test_split(test_size=0.1) ``` > AttributeError: 'DatasetDict' object has no at...
https://github.com/huggingface/datasets/issues/1600
closed
[ "question" ]
2020-12-18T05:37:10Z
2023-05-03T04:22:55Z
null
david-waterworth
pytorch/vision
3,184
Are these 2 lines of code necessary?
Hi, https://github.com/pytorch/vision/blob/master/references/video_classification/train.py#L134 https://github.com/pytorch/vision/blob/master/references/video_classification/train.py#L169 I wonder if these two lines are necessary. Why do we need to assign transforms to dataset after loading them from cache, whose...
https://github.com/pytorch/vision/issues/3184
closed
[ "question" ]
2020-12-17T16:40:06Z
2021-01-21T13:10:18Z
null
jc-hou
pytorch/serve
917
Implement one of the TODOs: Pass request id while loading model in model_loader.py
<!-- Thank you for suggesting an idea to improve torchserve model serving experience. Please fill in as much of the template below as you're able. --> **TODO** https://github.com/pytorch/serve/blob/6c078d6cd1f91c1614c18abf2f94d3571be1b659/ts/model_loader.py#L71 ```python class TsModelLoader(ModelLoader): ...
https://github.com/pytorch/serve/issues/917
closed
[ "help wanted", "question" ]
2020-12-17T04:06:19Z
2021-11-16T02:42:09Z
null
rishabh1212
pytorch/vision
3,175
error: ‘constexpr’ call flows off the end of the function
### envs libtorch==1.7.1 vision == 0.8.2 ### install ```bash cmake _DWITH_CUDA=on .. make ``` ### errors libtorch-cxx11-abi-shared-with-deps-1.7.1/libtorch/include/ATen/core/op_registration/infer_schema.h:120:16: error: ‘constexpr’ call flows off the end of the function constexpr auto returns = createRetu...
https://github.com/pytorch/vision/issues/3175
closed
[ "question", "module: c++ frontend" ]
2020-12-16T05:18:51Z
2020-12-17T15:16:04Z
null
onism26
pytorch/pytorch
49,445
[doc] how to prevent pytorch-nightly from being replaced by a released version on pip install
## 📚 Documentation I found an issue with pytorch-nightly and pip install of some packages depending on pytorch. If a user installs pytorch-nightly using: ``` pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html -U ``` which allows for pre-released versions...
https://github.com/pytorch/pytorch/issues/49445
open
[ "module: binaries", "module: docs", "oncall: releng", "triaged" ]
2020-12-16T02:42:27Z
2021-05-31T17:06:32Z
null
stas00
pytorch/vision
3,169
Width Calculation For Bounding Boxes in torchvision\models\detection\_utils.py
In the function encode_boxes (line 79 of torchvision\models\detection\_utils.py), it seems that the width of the ground truth proposals matched is being computed as ex_widths = proposals_x2 - proposals_x1 ex_heights = proposals_y2 - proposals_y1 But for a bounding box from ms coco [368, 413, 368, 417]. I guess ...
https://github.com/pytorch/vision/issues/3169
closed
[ "question", "module: ops" ]
2020-12-14T08:54:46Z
2020-12-14T14:57:04Z
null
JamesMcCullochDickens
pytorch/pytorch
49,304
How to save model with half precision?
## ❓ Questions and Help My model includes 5 resnet18, if they are saved with default precision(float32), then about 220MB space in my disk is occupied. My idea is to reduce the storage to 110MB, so I used model.half() to apply precision 16. I used torch.save(model.state_dict(),'model.pt') to save my model, howev...
https://github.com/pytorch/pytorch/issues/49304
closed
[]
2020-12-14T02:07:34Z
2020-12-14T06:54:39Z
null
xinfangliu
pytorch/pytorch
49,298
[question] How hard would it be to implement 4-bit precision training?
I came across the paper [Ultra-Low Precision 4-bit Training of Deep Neural Networks](https://proceedings.neurips.cc/paper/2020/file/13b919438259814cd5be8cb45877d577-Paper.pdf) on NeurIPS 2020. I think it would be cool to implement support for it in PyTorch. I think it can be done quite efficiently on CPU using the AVX2...
https://github.com/pytorch/pytorch/issues/49298
open
[ "module: internals", "triaged" ]
2020-12-13T18:04:02Z
2024-05-29T19:02:17Z
null
michalsustr
pytorch/vision
3,168
Getting Error: NotADirectoryError: [WinError 267] The directory name is invalid. File and folder both are valid
## 🐛 Bug <!-- A clear and concise description of what the bug is. --> I am getting the following error Getting Error: NotADirectoryError: [WinError 267] The directory name is invalid. File and folder both are valid I am using the following code: # Load all image data data_dir = os.getcwd() folder_name = "t...
https://github.com/pytorch/vision/issues/3168
closed
[ "question", "module: datasets" ]
2020-12-13T15:33:38Z
2021-02-21T16:12:31Z
null
manojrustagi79
huggingface/datasets
1,514
how to get all the options of a property in datasets
Hi could you tell me how I can get all unique options of a property of dataset? for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
https://github.com/huggingface/datasets/issues/1514
closed
[ "question" ]
2020-12-12T16:24:08Z
2022-05-25T16:27:29Z
null
rabeehk
pytorch/tutorials
1,277
cannot import name 'extract_archive', when run seq-to-seq model in the google colab.
Why run Seq to Seq model example in the pytorch use google colab exists the problem? how to solution it? The model example following : import io import torch from torchtext.utils import download_from_url, extract_archive from torchtext.data.utils import get_tokenizer from torchtext.vocab import build_vocab_from...
https://github.com/pytorch/tutorials/issues/1277
closed
[]
2020-12-11T02:55:52Z
2021-07-27T15:12:26Z
4
funny000
pytorch/vision
3,149
How can I install torchvision on Apple M1?
How can I install torchvision on Apple M1?
https://github.com/pytorch/vision/issues/3149
closed
[ "help wanted", "question", "topic: build" ]
2020-12-10T09:21:41Z
2021-06-06T05:59:32Z
null
huwei1024
pytorch/TensorRT
248
failed build trtorch
Hi, when run bazel build //:libtrtorch -c opt I got the following error: no such package '@platforms//os': The repository '@platforms' could not be resolved and referenced by '//:windows'
https://github.com/pytorch/TensorRT/issues/248
closed
[ "question" ]
2020-12-09T08:29:33Z
2020-12-10T05:11:34Z
null
pribadihcr
pytorch/tutorials
1,272
AssertionError: Not equal to tolerance rtol=0.001, atol=1e-05
Recently I am converting the pytorch segmentation model to onnx model。I can export the onnx model, pass the onnx.checker.check_model() and use the onnxruntime to do inference. But when I use np.testing.assert_allclose(to_numpy(torch_out), ort_outs[0], rtol=1e-03, atol=1e-05) to compare ONNX Runtime and PyTorch results,...
https://github.com/pytorch/tutorials/issues/1272
closed
[ "onnx", "medium", "docathon-h2-2023" ]
2020-12-09T06:50:04Z
2023-11-07T00:44:48Z
7
GeneralJing
pytorch/examples
855
cannot find dcgan-sample-10.png
Hello, recently I learn the code from https://github.com/pytorch/examples/tree/master/cpp/dcgan. But when I want to run python display_samples.py -i dcgan-sample-10.png I didn't find the dcgan-sample-10.png. can you tell me how to find the image correctly? And when I run ./dcgan to train, I got some warning:...
https://github.com/pytorch/examples/issues/855
closed
[]
2020-12-09T02:47:37Z
2022-03-09T20:42:06Z
1
liubamboo
pytorch/pytorch
48,995
How to do polymorphism on torch::nn::ModuleHolder?
The C++ frontend tutorial https://pytorch.org/tutorials/advanced/cpp_frontend.html recommends use ModuleHolder to create our own modules, but the inheritance relation does seem not translate to ModuleHolder. So I am wondering if there is a way to have both the benefit of ModuleHolder while having polymorphism among my ...
https://github.com/pytorch/pytorch/issues/48995
closed
[ "module: cpp", "module: nn", "triaged" ]
2020-12-08T03:26:39Z
2020-12-22T20:23:06Z
null
thisisi3
pytorch/pytorch
48,928
When multiple GPUs run multiple processes, it is found that any process not running in GPU 0 will have some more memory (such as 200m) in GPU 0. What is the cause of this?(多个GPU跑多进程时候,发现只要不在0号GPU跑的进程都会在0号GPU多出一些内存(如200M),请问这是什么情况导致的?)
Hello everyone, when multiple GPUs run multiple processes, we find that a process running in GPU 0 only occupies 1000m of memory; however, running a process with GPU 1 will occupy 1000m of memory in GPU 1, and it will also occupy 200m of memory in GPU 0; GPU 2 or GPU 3 are the same; we found that as long as the process...
https://github.com/pytorch/pytorch/issues/48928
open
[ "oncall: distributed" ]
2020-12-07T11:28:55Z
2021-01-21T06:46:15Z
null
zoufangyu1987
pytorch/pytorch
48,927
how to train a "mask keypoint r-cnn"
## ❓ 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/48927
closed
[]
2020-12-07T09:04:08Z
2020-12-08T01:38:01Z
null
feiyangsuo
pytorch/examples
854
why multiple token embedding by math.sqrt(self.ninp)?
Dear author, I am wondering why you multiple token's embedding by math.sqrt(self.ninp) in [model.py](https://github.com/pytorch/examples/blob/a3f28a26851867b314f4471ec6ca1c2c048217f1/word_language_model/model.py#L148) from the word_language_model example. Best
https://github.com/pytorch/examples/issues/854
closed
[]
2020-12-07T07:11:14Z
2022-03-09T21:05:40Z
1
KK666-AI
huggingface/datasets
1,167
❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders
Hi there, I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you c...
https://github.com/huggingface/datasets/issues/1167
closed
[ "question", "generic discussion" ]
2020-12-05T17:02:56Z
2023-07-20T15:49:42Z
null
pietrolesci
pytorch/tutorials
1,267
Weird results in the AUTOMATIC MIXED PRECISION tutorial.
I followed the [amp tutorial](https://pytorch.org/tutorials/recipes/recipes/amp_recipe.html#automatic-mixed-precision) (authored by @mcarilli). It's succinct and perspicuous. But the results show that mixed precision takes more memory than default precision. Can someone explain? More details about the settings and r...
https://github.com/pytorch/tutorials/issues/1267
closed
[ "question", "amp" ]
2020-12-04T04:24:26Z
2023-03-14T18:26:59Z
null
qimingyudaowenti
pytorch/pytorch
48,770
How can I find a function to calculate correlation coefficient matrix like numpy.corrcoef () in pytorch?
## ❓ 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/48770
closed
[]
2020-12-03T05:40:21Z
2020-12-03T16:49:24Z
null
jiangzhiwei2018
pytorch/serve
822
How to fix this problem
When I run the official example,I've got this problem,Does anyone have the same problem as Me?How can I solve it? thank you!
https://github.com/pytorch/serve/issues/822
closed
[]
2020-12-02T12:22:07Z
2020-12-02T15:37:40Z
null
shyoulala
pytorch/vision
3,093
VOCSegmentation transforms.ToTensor() not working
Hi, I want to use the VOCSegmentation dataset but I always get this error: ``` TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'PIL.PngImagePlugin.PngImageFile'> ``` This is a code snippet to recreate the error ```python transform=transforms.Compose(...
https://github.com/pytorch/vision/issues/3093
closed
[ "question", "topic: semantic segmentation" ]
2020-12-02T10:16:12Z
2024-01-08T06:45:57Z
null
sirtris
pytorch/vision
3,090
about retrain shufflenetv2 question
First of all, thanks for your perfect projects. ## Environments pyhton: 3.7 pytorch: 1.7+cpu torchvison: 0.8.1+cpu system-os: ubuntu18.04 ## Hyperparameters lr: 0.001 momentum: 0.9 weights_decay: 0.0001 batch_size: 16 ## Question introduction Recently, I was learning the source code your provided in t...
https://github.com/pytorch/vision/issues/3090
open
[ "question" ]
2020-12-02T02:35:51Z
2021-01-25T00:55:45Z
null
WZMIAOMIAO
pytorch/xla
2,657
Using iterative datasets with pytorch XLA is very slow on TPU, how to use it correctly
## Environment info - Platform: TPU - Python version: 3.7 ## Information I am running the following codes on TPU and GPU and on TPU this is very slow. I am not sure if the way I define dataloader for iterative dsatasets is correct or not. Here is how I define the dataloader, https://github.com/google-research/ru...
https://github.com/pytorch/xla/issues/2657
closed
[]
2020-12-02T01:01:14Z
2020-12-06T00:00:11Z
null
rabeehkarimimahabadi
pytorch/vision
3,083
Getting an error when modifying the faster_rcnn model to add inception_v3 backbone model
I was following this tutorial [Modifying the model to add a different backbone](https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html#modifying-the-model-to-add-a-different-backbone). When I replace the mobilenet_v2 model with inception_v3, the code does not work and gives the following error: ``` ...
https://github.com/pytorch/vision/issues/3083
open
[ "question" ]
2020-12-01T20:19:44Z
2020-12-02T12:10:21Z
null
js-kalsi
pytorch/vision
3,068
torchvison.ops.nms uses too much gpu memory
hi there, i have a quesetion nms operator. If i use torchvision.ops.nms to filter bbox, about 900MB GPU memory is used, where the input box and score are put into GPU. But there is no problem if the box and score in cpu. meanwhile the time cost of gpu is 0.0007s, 0.0018s in cpu. i do not know actually why this oper...
https://github.com/pytorch/vision/issues/3068
closed
[ "question" ]
2020-12-01T07:44:41Z
2021-03-23T15:48:01Z
null
ThomsonW
pytorch/vision
3,064
I cannot reach the ori accuracy by training the ResNeXt-50 on the ImageNet.
I use the ['PyTorch ImageNet Training' example](https://github.com/pytorch/examples/tree/master/imagenet) and the ['models'](https://github.com/pytorch/vision/tree/master/torchvision/models) of TorchVision 0.4.2 to train ResNeXt-50 twice but got 23.52% and 23.57% (Top-1) on ImageNet Val set, which do not reach the ori ...
https://github.com/pytorch/vision/issues/3064
closed
[ "question", "module: models" ]
2020-11-30T19:53:15Z
2021-04-25T16:12:11Z
null
PoonKinWang
pytorch/pytorch
48,576
how to avoid the precision loss(float32) caused by the gradient accumulation of Ring Allreduce in the case of ddp
## ❓ Questions and Help ### how to avoid the precision loss(float32) caused by the gradient accumulation of Ring Allreduce in the case of ddp. How to avoid the precision loss(float32) caused by the gradient accumulation of Ring Allreduce in the case of ddp when run model in single gpu twice, the weight is al...
https://github.com/pytorch/pytorch/issues/48576
closed
[ "oncall: distributed", "triaged" ]
2020-11-30T09:24:09Z
2020-12-07T01:42:03Z
null
lezasantaizi
pytorch/vision
3,058
How to solve this error? RuntimeError: Could not run 'torchvision::nms' with arguments from the 'CUDA' backend
## ❓ Questions and Help ### Please note that this issue tracker is not a help form and this issue will be closed. I'm beginner of ML and trying to use some solution based on pytorch (called detectron2) When the solution inferred the image, I always got the below error. RuntimeError: Could not run 'torchvision::...
https://github.com/pytorch/vision/issues/3058
open
[ "needs reproduction", "module: ops" ]
2020-11-30T08:17:04Z
2024-01-18T01:41:05Z
null
manmani3
pytorch/vision
3,056
torchvision.roi_align does not support TPU
Hello. We are using TPU in GCP. We are currently modifying the code to allow the TPU to return to Detectron2. However, there is an error that roi_align in Torchvision is not supported by TPU. Please check the bottom. Can you solve it for me? `File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/tor...
https://github.com/pytorch/vision/issues/3056
open
[ "question" ]
2020-11-28T12:16:32Z
2020-11-30T10:06:01Z
null
CheonJiEun
pytorch/pytorch
48,528
I am unable to install, How to install it?
## ❓ Questions and Help ### I am unable to install pytorch like the way they said Here are all the screen shots to describe error is most of the detail #### Website <img width="960" alt="chrome page" src="https://user-images.githubusercontent.com/71920621/100496065-07ffb580-3177-11eb-9e8d-7445d613e97f.PNG"> ...
https://github.com/pytorch/pytorch/issues/48528
closed
[ "module: binaries", "module: windows", "triaged" ]
2020-11-28T07:13:38Z
2020-11-30T15:44:32Z
null
ghost
pytorch/vision
3,049
In function `ROIPool_forward(at::Tensor const&, at::Tensor const&, double, long, long)':
https://github.com/pytorch/vision/issues/1849, i try this,but it cannot work. Please help me . Thanks a lot. In function `ROIPool_forward(at::Tensor const&, at::Tensor const&, double, long, long)': undefined reference to `ROIPool_forward_cuda(at::Tensor const&, at::Tensor const&, float, int, int)'
https://github.com/pytorch/vision/issues/3049
closed
[ "question" ]
2020-11-26T10:34:31Z
2020-12-24T08:58:28Z
null
wj1017090777
pytorch/TensorRT
242
Failure when add aten::gt converter
I was trying add new conveter aten::gt.Scalar(Tensor self, Scalar other) -> Tensor, but it failed in test_case in core/conversion/conveters/impl/element_wise.cpp, I add this ``` .pattern({"aten::gt.Scalar(Tensor self, Scalar other) -> (Tensor)", [](ConversionCtx* ctx, const torch::jit:...
https://github.com/pytorch/TensorRT/issues/242
closed
[ "question", "No Activity" ]
2020-11-26T06:45:23Z
2021-01-22T00:34:40Z
null
inocsin
pytorch/pytorch
48,444
How to export to onnx with nms?
Hi, I am trying to add nms in pytorch detection model and export it to onnx so that I can convert the onnx to tensorrt7.1, so how can I export a model with nms ? Any examples or documents? Thanks.
https://github.com/pytorch/pytorch/issues/48444
closed
[]
2020-11-25T08:32:56Z
2020-11-26T00:58:23Z
null
Edwardmark
pytorch/TensorRT
240
❓ [Question] How to solve aten::floor converter not found?
## ❓ Question How to solve aten::floor converter not found? ## What you have already tried I am trying to convert a jit trace of a Fast SCNN network into TensorRT. I've confirmed that the trace was created in python3.6 using PyTorch 1.6.0. When printing the trace graph I do not even see the aten::floor oper...
https://github.com/pytorch/TensorRT/issues/240
closed
[ "feature request", "question" ]
2020-11-24T16:13:34Z
2021-04-22T00:54:15Z
null
nmonhollen
huggingface/datasets
883
Downloading/caching only a part of a datasets' dataset.
Hi, I want to use the validation data *only* (of natural question). I don't want to have the whole dataset cached in my machine, just the dev set. Is this possible? I can't find a way to do it in the docs. Thank you, Sapir
https://github.com/huggingface/datasets/issues/883
open
[ "enhancement", "question" ]
2020-11-24T14:25:18Z
2020-11-27T13:51:55Z
null
SapirWeissbuch
pytorch/pytorch
48,390
what is the different between https://download.pytorch.org/whl/torch_stable.html and the tag
## ❓ 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/48390
closed
[]
2020-11-23T12:40:06Z
2020-11-26T01:06:09Z
null
jihuacao
huggingface/datasets
878
Loading Data From S3 Path in Sagemaker
In Sagemaker Im tring to load the data set from S3 path as follows `train_path = 's3://xxxxxxxxxx/xxxxxxxxxx/train.csv' valid_path = 's3://xxxxxxxxxx/xxxxxxxxxx/validation.csv' test_path = 's3://xxxxxxxxxx/xxxxxxxxxx/test.csv' data_files = {} data_files["train"] = train_path data_files...
https://github.com/huggingface/datasets/issues/878
open
[ "enhancement", "question" ]
2020-11-23T09:17:22Z
2020-12-23T09:53:08Z
null
mahesh1amour
pytorch/TensorRT
235
❓[Question] Dynamic shape for ResNet-50
## ❓ Question Hi, I try to convert ResNet-50 with dynamic shape: ``` { "min": (1, 3, 224, 224), "opt": (1, 3, 224, 224), "max": (3, 3, 224, 224) } ``` , but i get this error: ``` ERROR: [TRTorch Conversion Context] - %x.21 : Tensor = aten::flatten(%x.19, %3, %81) # /root/.c...
https://github.com/pytorch/TensorRT/issues/235
closed
[ "question" ]
2020-11-23T05:02:13Z
2021-02-23T23:25:09Z
null
gavrin-s
pytorch/vision
3,040
I am not able to obtain results with custom backbone
_I am following the tutorial about FasterRCNN and I would like to test my network as backbone of the net: UCapsNet return 512 features maps I am training on VocPascal 2007_ FRCN_model = FasterRCNN(backbone_model.Ucapsnet, 21, rpn_anchor_generator=backbone_model.anchor_generator, box_roi_pool=backbone_model.roi...
https://github.com/pytorch/vision/issues/3040
open
[ "question", "module: documentation" ]
2020-11-20T15:45:08Z
2020-11-24T08:08:56Z
null
Riretta
pytorch/vision
3,036
Faster R-CNN raise errors when input tensor has require_grad=True
## 🐛 Bug <!-- A clear and concise description of what the bug is. --> ## To Reproduce I am using the pretrained Faster R-CNN model in torchvision as a sub-model in my own image generating model. In fact,I need the Faster R-CNN to backward properly when training my whole model. But I found that when i feed th...
https://github.com/pytorch/vision/issues/3036
closed
[ "question", "wontfix", "module: models", "topic: object detection" ]
2020-11-20T06:38:35Z
2020-11-20T09:38:14Z
null
EZ4NO1
pytorch/TensorRT
232
How do you activate trtorch::CompileGraph with multi inputs?
## ❓ Question Can you provide an example of using more than one input please? ## What you have already tried For example I tried to do the following: ` auto Input1= torch::randn({ 4, 24, 64, 64 }, { torch::kCUDA }); auto Input2= torch::randn({ 1, 24, 1, 1 }, { torch::kCUDA }); std::vector<trtorch::Com...
https://github.com/pytorch/TensorRT/issues/232
closed
[ "question" ]
2020-11-19T14:35:22Z
2020-11-24T15:56:11Z
null
OronG13
pytorch/vision
3,030
randomroate by some change
``` def mapper(dataset_dict): dataset_dict = copy.deepcopy(dataset_dict) # it will be modified by code below image = utils.read_image(dataset_dict["file_name"], format="BGR") transform_list = [ T.ResizeShortestEdge(short_edge_length=(640, 672, 704, 736, 768...
https://github.com/pytorch/vision/issues/3030
open
[ "question", "module: transforms" ]
2020-11-19T14:22:27Z
2020-11-20T09:39:28Z
null
SlowMonk
pytorch/TensorRT
231
How to solve "Unable to get schema" issue
I was trying to compile torchscript model, and the log says "Unable to get schema for Node". What should I do to fix this problem? ``` %2 : int = prim::Constant[value=2]() %3 : int = prim::Constant[value=6]() %4 : bool = prim::Constant[value=0]() %5 : None = prim::Constant() %6 : int[] = prim::Const...
https://github.com/pytorch/TensorRT/issues/231
closed
[ "question", "No Activity" ]
2020-11-19T09:53:50Z
2020-12-26T00:11:00Z
null
inocsin
pytorch/pytorch
48,241
How to use torch.onnx.export with customed input datatype, like SparseTensor?
## ❓ Questions and Help In this repo [torchsparse](https://github.com/mit-han-lab/torchsparse), there is a customed datatype [SparseTensor`](https://github.com/mit-han-lab/torchsparse/blob/d2a5817c1b30565ffdfcd191b171a0957db408a8/torchsparse/sparse_tensor.py#L6). ```python class SparseTensor: def __init__(self,...
https://github.com/pytorch/pytorch/issues/48241
closed
[]
2020-11-19T07:05:42Z
2020-11-19T22:25:24Z
null
zeng-hello-world
pytorch/tutorials
1,247
Training with batch size > 1 for adverserial example generation
The tutorial notebook on [Adverserial Training](https://github.com/pytorch/tutorials/blob/master/beginner_source/fgsm_tutorial.py) uses a batch size of 1. What code changes are needed if we want to train on a batch size of say 16. My understanding is, we only need to change the logic of `final_pred = output.ma...
https://github.com/pytorch/tutorials/issues/1247
closed
[ "question" ]
2020-11-18T16:35:29Z
2023-03-14T21:02:30Z
null
chinmay5
pytorch/TensorRT
230
❓ [Question] We don't have an op for aten::addmm
## ❓ Question I'm trying to convert a modified version of Yolov3 to TesnorRT, I have the model scripted to TorchScript and I'm trying to run trtorchexec on it I'm getting an error ``` Checking operator support terminate called after throwing an instance of 'c10::Error' what(): 0 INTERNAL ASSERT FAILED at ".....
https://github.com/pytorch/TensorRT/issues/230
closed
[ "question", "No Activity" ]
2020-11-18T15:41:45Z
2021-04-20T00:02:56Z
null
lablabla
pytorch/vision
3,022
MaskRCNN Training on Images with no Annotations
Hi all, I am working on a little MaskRCNN training program and ran into an issue. I know it is common practice to remove any images from the dataset that lack annotations upon initializing the dataset which I am doing. However, I am running a series of transforms using albumentations on my image and my mask. One of th...
https://github.com/pytorch/vision/issues/3022
open
[ "question", "awaiting response", "topic: object detection" ]
2020-11-18T15:23:52Z
2020-11-30T10:42:01Z
null
gatordevin
pytorch/TensorRT
229
Build trtorch failed in ubuntu
I try to build the project with bazel but failed. my environment: gcc: 7.5.0 g++: 7.5.0 cuda: 10.2 cudnn: 7.6.5 tensorRT: 7.0.0.11 error log: [log.txt](https://github.com/NVIDIA/TRTorch/files/5559949/log.txt) $ bazel build //:libtrtorch --compilation_mode opt Starting local Bazel server and connecting...
https://github.com/pytorch/TensorRT/issues/229
closed
[ "question" ]
2020-11-18T12:23:02Z
2020-11-20T02:23:10Z
null
inocsin
huggingface/datasets
861
Possible Bug: Small training/dataset file creates gigantic output
Hey guys, I was trying to create a new bert model from scratch via _huggingface transformers + tokenizers + dataets_ (actually using this example script by your team: https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py). It was supposed to be a first test with a small 5 GB r...
https://github.com/huggingface/datasets/issues/861
closed
[ "enhancement", "question" ]
2020-11-17T13:48:59Z
2021-03-30T14:04:04Z
null
NebelAI
pytorch/TensorRT
226
How to build from sources on Windows
## ❓ Question How shall I edit the WORKSPACE file in order to build tag 0.1.0 from sources on Windows? ## What you have already tried 1. I successfully did the build from sources process for Jetson Xavier AGX, see: [https://github.com/NVIDIA/TRTorch/issues/222](url) 1. Based on the material that I was alre...
https://github.com/pytorch/TensorRT/issues/226
closed
[ "question", "channel: windows" ]
2020-11-17T11:57:18Z
2022-09-02T18:12:18Z
null
OronG13
pytorch/pytorch
48,075
How to convert syncbn to batchnormND?
I want to run a model with syncBn in cpu, so I have to convert syncBN to batchNormND, how can I do that? I just found a way to convert from bn to syncbn, but how to do the opposite? Thanks in advance. [convert2syncbn](https://pytorch.org/docs/stable/generated/torch.nn.SyncBatchNorm.html?highlight=sync#torch.nn.SyncB...
https://github.com/pytorch/pytorch/issues/48075
closed
[ "module: nn", "triaged", "enhancement" ]
2020-11-17T02:41:22Z
2020-11-18T02:42:34Z
null
Edwardmark
pytorch/pytorch
48,074
How use libtorch(or other API) to implement "contiguous", "view", "permute", "transpose" in c++?
## How use libtorch to implement "contiguous", "view", "permute", "transpose" in c++? Hello~ I need to transplant python to c++, I don't know how to implement "contiguous", "view", "permute" in c++. I found that libtorch can help me, but I have not find all the "Tensor operations" which I need,such as "contiguous", "v...
https://github.com/pytorch/pytorch/issues/48074
closed
[]
2020-11-17T02:16:24Z
2020-11-17T15:44:11Z
null
wxyhv
huggingface/datasets
853
concatenate_datasets support axis=0 or 1 ?
I want to achieve the following result ![image](https://user-images.githubusercontent.com/12437751/99207426-f0c8db80-27f8-11eb-820a-4d9f7287b742.png)
https://github.com/huggingface/datasets/issues/853
closed
[ "enhancement", "help wanted", "question" ]
2020-11-16T02:46:23Z
2021-04-19T16:07:18Z
null
renqingcolin
pytorch/pytorch
47,980
How to avoid `torch.onnx.export` use INT64?
In order to do inference in browser/JavaScript, I used `torch.onnx.export()` to get the onnx model. However, the exported model used INT64 which is invalid for the JavaScript environment. I tried to change the data type in ONNX manually but it brings more error. May I know how to force the `torch.onnx.export` use ...
https://github.com/pytorch/pytorch/issues/47980
closed
[ "module: onnx", "triaged" ]
2020-11-15T04:11:06Z
2021-04-21T11:23:35Z
null
waittim
pytorch/tutorials
1,237
DistributedDataParallel tutorial should use actual data
The current DistributedDataParallel tutorial feeds in data randomly generated on the spot. This is useful to a point but, since all real world applications will use a dataloader, it would be good to have a complete example with even MNIST that implements DistributedDataParallel. "https://pytorch.org/tutorials/intermedi...
https://github.com/pytorch/tutorials/issues/1237
closed
[]
2020-11-13T18:51:01Z
2023-03-14T21:05:55Z
1
rmcavoy
pytorch/vision
2,999
CMake build failed with error: 'class c10::OperatorHandle' has no member named 'typed'
## 🐛 Bug <!-- A clear and concise description of what the bug is. --> ## To Reproduce Steps to reproduce the behavior: 1. Install PyTorch that was built myself, with build information: ``` #python3 Python 3.6.8 (default, Apr 20 2020, 14:49:33) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux Type "help"...
https://github.com/pytorch/vision/issues/2999
closed
[ "question", "topic: build" ]
2020-11-13T09:47:07Z
2020-11-13T13:18:19Z
null
tanyokwok
pytorch/vision
2,994
How to dynamically split tensor
## How to split a tensor dynamically by split_sizes, not by constant shape Trying to convert mask-rcnn to onnx and run on onnxruntime. Following code try to split mask_pred by num_mask_roi_per_img However, while run in onnxruntime, num_mask_roi_per_img becomes constant value, for instance (68,) which is number of b...
https://github.com/pytorch/vision/issues/2994
closed
[ "topic: object detection", "module: onnx" ]
2020-11-12T13:27:05Z
2022-07-21T09:11:35Z
null
RunningLeon
pytorch/pytorch
47,823
How to frozen weights in TorchScript IR?
Hi, i just add a pass in TorchScript IR to convert BertLayer to fastertransformer Encoder, however i find model is slow after convert to TorchScript. I get Nvprof result and find a time consuming activity: ``` Type Time(%) Time Calls Avg Min Max Name GPU activities: 57.50% 1.49484s ...
https://github.com/pytorch/pytorch/issues/47823
closed
[ "oncall: jit" ]
2020-11-12T02:51:07Z
2020-11-12T07:54:27Z
null
Sun-Knight-Soral
pytorch/pytorch
47,681
How to install Pytorch on AIX7.2 without internet access?
I am trying to install Pytorch on AIX7.2 server without internet access. I have pytorch-1.0.2.tar.gz from PYPI website and run the PIP installation as ```python -m pip install Flask --no-build-isolation --no-index --find-links ./ $pkg``` where $pkg is pytorch-1.0.2.tar.gz. However, it has the following error. How to...
https://github.com/pytorch/pytorch/issues/47681
open
[ "module: build", "triaged" ]
2020-11-10T17:02:24Z
2020-11-11T02:05:42Z
null
bergen288
pytorch/serve
779
Hi, any suggestion on how to serve yolov5 on torchserve ?
<!-- Thank you for suggesting an idea to improve torchserve model serving experience. Please fill in as much of the template below as you're able. --> ## Is your feature request related to a problem? Please describe. <!-- Please describe the problem you are trying to solve. --> I'd like to serve yolov5 model,...
https://github.com/pytorch/serve/issues/779
closed
[ "triaged_wait" ]
2020-11-10T03:18:54Z
2023-07-31T17:53:42Z
null
yuanyuangoo
pytorch/tutorials
1,227
Yolov5 quantization : problem with FloatFunctional()
I'm trying quantize [Yolov5 (object detection)](https://github.com/ultralytics/yolov5). And i'm following [this tutorial](https://pytorch.org/tutorials/advanced/static_quantization_tutorial.html) to do static quantization. As per tutorial I'm changing all torch.add s to torch.nn.quantized.FloatFunctional() like this. ...
https://github.com/pytorch/tutorials/issues/1227
closed
[ "question", "module: quantization" ]
2020-11-09T16:38:33Z
2023-03-16T22:31:13Z
null
bingiflash
pytorch/tutorials
1,225
Seq2Seq Transformer Tutorial
I'm having difficulty understanding a few aspects of the Seq2Seq transformer tutorial (https://pytorch.org/tutorials/beginner/transformer_tutorial.html) 1. The tutorial says that it implements the architecture from Attention Is All You Need, but I don't see a TransformerDecoder used anywhere. It instead looks like o...
https://github.com/pytorch/tutorials/issues/1225
closed
[ "module: torchtext", "docathon-h1-2023", "easy" ]
2020-11-08T20:39:19Z
2023-06-09T16:32:37Z
5
mmwebster
pytorch/pytorch
47,577
How to implement Iterative dataset with multiple workers
Hi I have a TFDS dataset, which I convert it to an iterative dataset in pytorch, this is not clear for me how to make it work with multiple-workers, here is the minimal code to show what I mean, could you help me please complete it with different workers, and provide me with how I can implement worker_init_fn(worker_i...
https://github.com/pytorch/pytorch/issues/47577
closed
[]
2020-11-08T13:01:52Z
2020-11-09T16:03:07Z
null
rabeehkarimimahabadi
pytorch/pytorch
47,574
How to add custom CUDA function as torchScript Node?
Hi, i want to add my CUDA function as a torchScript Node, but i can't use torchScript extention op as i can't let other people to use so file. It's there a way? Thank you very much! cc @gmagogsfm
https://github.com/pytorch/pytorch/issues/47574
closed
[ "oncall: jit" ]
2020-11-08T10:28:25Z
2021-02-27T07:58:59Z
null
Sun-Knight-Soral
pytorch/pytorch
47,573
How to add custom CUDA function as torchScript Node?
Hi, i want to add my CUDA function as a torchScript Node, but i can't use torchScript extention op as i can't let other people to use so file. It's there a way? Thank you very much! cc @gmagogsfm
https://github.com/pytorch/pytorch/issues/47573
closed
[ "oncall: jit" ]
2020-11-08T10:28:06Z
2020-11-08T17:15:02Z
null
Sun-Knight-Soral
pytorch/pytorch
47,572
How to add custom CUDA function as torchScript node?
Hi, i want to add my CUDA function to torchScript as a Node, but i don't want to use torchScript extention op as i can't let other people to load so file, is there any way? Thankyou very much! cc @gmagogsfm
https://github.com/pytorch/pytorch/issues/47572
closed
[ "oncall: jit" ]
2020-11-08T10:25:02Z
2020-11-08T17:15:35Z
null
Sun-Knight-Soral
pytorch/pytorch
47,548
how to extract more than two variables using default_collate from torch.utils.data.dataloader?
Kindly help as how to extract more than just two variables (x,y) using default_collate from torch.utils.data.dataloader.
https://github.com/pytorch/pytorch/issues/47548
closed
[]
2020-11-07T05:52:49Z
2020-11-09T16:00:31Z
null
Jayashree-Pougajendy
pytorch/xla
2,613
How to get function return from xmp.spawn distributed processes
Wonder how do we get value returned from spawned functions. For example, if accuracy is calculated in each core, and i want it to be returned to the main function ``` def _mp_fn(): #some training and valuation code here return accuracy ``` ``` accuracy = xmp.spawn(_mp_fn, nprocs=8) ``` In mult...
https://github.com/pytorch/xla/issues/2613
closed
[]
2020-11-06T19:58:07Z
2020-11-11T14:51:43Z
null
8key
pytorch/pytorch
47,491
How to get averaged loss in multi-gpu training ?
Hi, I am using multi-gpu training, following the tutorial: https://pytorch.org/docs/stable/notes/ddp.html I am trying to construct the curves of training and validation losses for visulization. But it seems I can only access the loss of one gpu. I know that the losses of multi-gpu will be averaged before back...
https://github.com/pytorch/pytorch/issues/47491
closed
[]
2020-11-06T05:44:59Z
2020-11-06T05:58:38Z
null
shuuchen
pytorch/text
1,071
How to get the translation results from tensor in seq2seq model
## ❓ Questions and Help **Description** <!-- Please send questions or ask for help here. --> I am try to implement my own MT engine, i am following the steps in https://github.com/bentrevett/pytorch-seq2seq/blob/master/1%20-%20Sequence%20to%20Sequence%20Learning%20with%20Neural%20Networks.ipynb I also propose a q...
https://github.com/pytorch/text/issues/1071
closed
[]
2020-11-06T02:12:34Z
2020-11-06T06:05:17Z
null
Oscarjia
pytorch/pytorch
47,483
Update how to build PyTorch with CUDA Windows instructions
PyTorch currently could not be build using recommended `14.11.25503` minimal toolchain, see: https://github.com/pytorch/pytorch/blame/b4b0fa637178baf9147416b550c7db70de6a5fa3/README.md#L258 But if one tries to following this instructions using PyTorch-1.7 or newer it will fail with as shown in: https://github.com/...
https://github.com/pytorch/pytorch/issues/47483
closed
[ "module: build", "module: windows", "module: docs", "triaged", "windows-triaged" ]
2020-11-06T01:27:58Z
2020-11-16T16:16:00Z
null
malfet
pytorch/xla
2,606
how to make sure pytorch xla is doing data parallelism
Hi when I call xm.spawn to distribute a work over multiple TPU cores, how can I make sure this is actually working and getting use of all cores? thanks
https://github.com/pytorch/xla/issues/2606
closed
[]
2020-11-05T16:30:15Z
2020-11-30T18:18:00Z
null
rabeehkarimimahabadi
pytorch/pytorch
47,439
how to use torch.utils.checkpoint + gru with variable length sequence?
I just want to use torch.utils.checkpoint on GRU to save gpu memory. ```py def check(self, packed): out, _ = self.rnn(packed) padded = pad_packed_sequence(out, batch_first=True) return padded def forward(self, x, lengths): """Handles variable size captions """ x = self.embed(x) ...
https://github.com/pytorch/pytorch/issues/47439
open
[ "module: rnn", "triaged" ]
2020-11-05T13:25:06Z
2023-11-02T13:26:34Z
null
liuyyy111
pytorch/vision
2,963
detector as feature extractor
Hello, I am using mask rcnn for detection. So basically fine tuning. However I want extract feature for each object that is being detected. So possibly extracting feature vector just before last layer. How can I do that ? forward hooks ? I was also looking into https://github.com/pytorch/vision/blob/master/tor...
https://github.com/pytorch/vision/issues/2963
open
[ "question" ]
2020-11-04T22:49:19Z
2020-11-10T12:39:51Z
null
gaussiangit
pytorch/vision
2,959
Allow torchvision.io to pass through ToTensor()
## 🚀 Ensure torchvision.io is a drop-in replacement with current workflows The following snippet will fail. ``` img = torchvision.io.read_image() img = torchvision.transforms.ToTensor()(img) ``` ## Pitch Consider making native io compatible with existing transform workflows by allowing the tensor type to pa...
https://github.com/pytorch/vision/issues/2959
closed
[ "question", "needs discussion" ]
2020-11-04T03:56:27Z
2020-11-20T09:46:26Z
null
jgbradley1
pytorch/vision
2,955
[RFC] How to handle BC breaking changes on Model weights or hyper-parameters
## 🚀 Feature In order to fix bugs we are sometimes forced to introduce BC breaking changes. While the process of such introductions is clear when it comes to code changes, it's not when it comes to model weights or hyper-parameters. Thus we should define when, why and how to introduce BC-breaking changes when it come...
https://github.com/pytorch/vision/issues/2955
open
[ "needs discussion", "version incompatibility" ]
2020-11-03T12:10:36Z
2021-09-04T16:37:54Z
null
datumbox
pytorch/vision
2,951
Imagenet Pre-trained model for other Depth Multiplier
On the mnasnet model under mnasnet.py file, the link provided for imagenet pretrained model is only for two depth multiplier, as shown in the code below: _MODEL_URLS = { "mnasnet0_5": "https://download.pytorch.org/models/mnasnet0.5_top1_67.823-3ffadce67e.pth", "mnasnet0_75": None, "mnasnet1_0": ...
https://github.com/pytorch/vision/issues/2951
open
[ "question", "module: models" ]
2020-11-03T06:58:39Z
2020-11-06T00:56:35Z
null
NaifahNurya
pytorch/vision
2,943
the divide mistake of positive and negative samples
## ❓ 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/vision/issues/2943
closed
[ "question", "module: models", "topic: object detection" ]
2020-10-31T07:58:29Z
2020-11-06T10:29:01Z
null
ghost
pytorch/pytorch
47,147
libtorch 1.6.0: How to make the data of each batch have different sizes
libtorch 1.6.0 win10 x64 . I wrote an OCR model of the dataset.The word is encoded with different lengths as the label input.How to make the data of each batch have different sizes? example: data:123.png datasize:[batchsize,3,180,32] ,label: 123,labelsize:[batchsize,3] data:3234.png datasize:[batchsize,3,180,3...
https://github.com/pytorch/pytorch/issues/47147
closed
[]
2020-10-31T04:30:47Z
2020-11-01T03:52:41Z
null
williamlzw
pytorch/pytorch
47,118
How to specify the instances for batches
I am trying to solve a multi-task learning problem where I want to implement a homogeneous epoch sampling strategy (i.e in a single batch, instances from only one task are present and such batches are shuffled). For example, Bij represents ith batch during training is of jth task Let's assume tasks are A,B,C B1A, ...
https://github.com/pytorch/pytorch/issues/47118
closed
[]
2020-10-30T15:13:54Z
2020-10-30T16:38:44Z
null
nrjvarshney
huggingface/pytorch-image-models
261
What is different with paper for mobilenet v3 and efficientNet
Thank for your great works. The results with your code show much higher accuracy compared to reported accuracy. (mobilenet v3 and efficientNet) I want to know what is main different with paper.
https://github.com/huggingface/pytorch-image-models/issues/261
closed
[]
2020-10-29T13:34:35Z
2020-10-30T01:15:38Z
null
gksruf
pytorch/vision
2,919
How to change the num_classes from 1000 in vgg?
I use model = vgg.vgg16(pretrained=True, progress = True, num_classes=10) and use pretrained model 'vgg16': 'https://download.pytorch.org/models/vgg16-397923af.pth', then, the error happend: RuntimeError: Error(s) in loading state_dict for VGG: size mismatch for classifier.6.weight: copying a param wi...
https://github.com/pytorch/vision/issues/2919
closed
[ "question" ]
2020-10-28T07:43:00Z
2020-10-28T14:53:37Z
null
SunJJ1996
pytorch/pytorch
46,902
How to use clang as a cuda compiler instead of nvcc?
I want to ask if we can use clang as a cuda compiler instead of nvcc, such as 'TF_CUDA_CLANG', 'CLANG_CUDA_COMPILER_PATH' options similar to tensorflow/third_party/gpus/cuda_configure.bzl? cc @malfet @seemethere @walterddr
https://github.com/pytorch/pytorch/issues/46902
open
[ "module: build", "triaged", "enhancement" ]
2020-10-27T05:52:23Z
2020-11-10T03:48:41Z
null
HangJie720
pytorch/vision
2,894
Activation function for object proposals in RoI (test time)
## 🚀 Feature Replace softmax with sigmoid in `postprocess_detections `method in `roi_heads`: https://github.com/pytorch/vision/blob/5cb77a20c3c65ca6199fdf1c1bc642af7447d311/torchvision/models/detection/roi_heads.py#L677 ## Motivation In the current implementation, score is class-dependent (softmax), but...
https://github.com/pytorch/vision/issues/2894
closed
[ "question", "module: models", "topic: object detection" ]
2020-10-26T11:34:58Z
2020-10-26T12:51:20Z
null
AlexTS1980
pytorch/examples
837
License of the fast-neural-style models?
Are the fast-neural-style models that are downloadable through https://github.com/pytorch/examples/blob/0f0c9131ca5c79d1332dce1f4c06fe942fbdc665/fast_neural_style/download_saved_models.py#L27 also licensed under the [BSD-3-Clause license](https://github.com/pytorch/examples/blob/master/LICENSE)?
https://github.com/pytorch/examples/issues/837
closed
[]
2020-10-26T06:59:51Z
2021-03-04T06:12:57Z
3
pmeier
pytorch/vision
2,884
GroupedBatchSampler related bug in vision/references/detection/train.py
I strongly suspect that there is a bug in the detection trainer code that uses `GroupedBatchSampler` to group images by aspect ratio. ``` if args.distributed: train_sampler = torch.utils.data.distributed.DistributedSampler(dataset) test_sampler = torch.utils.data.distributed.DistributedSampler(dataset_tes...
https://github.com/pytorch/vision/issues/2884
closed
[ "question", "module: reference scripts", "topic: object detection" ]
2020-10-24T07:48:48Z
2020-10-26T12:36:38Z
null
erickim555
pytorch/tutorials
1,203
Put some more better practices in custom operator tutorial
Given our experience with internal users of custom operator registration API, there are some more important things the tutorial should cover: * Handling non-contiguous inputs * How to use TensorIterator for easy pointwise operators * (FB only) The rest of the scaffolding you need for fbcode cc @dzhulgakov
https://github.com/pytorch/tutorials/issues/1203
open
[ "C++", "torchscript" ]
2020-10-23T21:15:48Z
2021-07-27T22:04:45Z
0
ezyang
pytorch/vision
2,878
Hello , i found a mismatch between the implemented torchvision.models.detection.backbone_utils.resnet_fpn_backbone() in github and what we get by installing via pip, the one in github is having returned_layer and extra_blocks as parameters but one we get by installign doesnt have any of these parameters,
## ❓ 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/vision/issues/2878
closed
[ "question" ]
2020-10-23T10:18:55Z
2020-10-23T10:38:52Z
null
akashprakas
pytorch/pytorch
46,760
How to define a new data type in native_functions.yaml?
How to define a new data type in native_functions.yaml? Such as there is exist a data type "int[]",bu i want a data type "float[]",what sould i do? Looking forward to your advice, I will be very grateful! cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @ailzhang
https://github.com/pytorch/pytorch/issues/46760
open
[ "module: internals", "triaged" ]
2020-10-23T09:04:27Z
2020-10-26T15:16:34Z
null
max-niu
pytorch/TensorRT
193
❓ [Question] How does max_batch_size work?
## ❓ Question How one should use `max_batch_size` compilation option? There's not a lot said about it on [documentation](https://nvidia.github.io/TRTorch/py_api/trtorch.html) apart of that it should greater than 0. ## What you have already tried Here's the toy example I'm playing with: ``` import torch impo...
https://github.com/pytorch/TensorRT/issues/193
closed
[ "question" ]
2020-10-21T15:49:13Z
2020-10-30T08:22:33Z
null
ateraz
pytorch/vision
2,853
How to get corresponding feature regions of final detections from feature map of backbone?
Hi, For every output detection [x1, y1, x2, y2], I would like to extract its corresponding region in the feature map output of the backbone of Faster-RCNN. Similarly, I want to extract the corresponding region in the feature map for the target (groundtruth) bounding boxes. Can you point me to how this should be ...
https://github.com/pytorch/vision/issues/2853
open
[ "question", "topic: object detection" ]
2020-10-21T13:24:56Z
2020-10-27T12:11:54Z
null
igygi
pytorch/vision
2,850
Can pretrained resnet-50 extract feature from a higher resolution picture?
Can pre-trained ResNet-50 extract feature from a higher resolution picture? Typically, when we use Resnet to extract features, we need to crop the image into 224 x 224 then pass the image to ResNet. I want to know if we want a larger image( e.g. 720 x 720) to be processed, we have to modify the network and re-tr...
https://github.com/pytorch/vision/issues/2850
closed
[ "question" ]
2020-10-21T04:45:24Z
2020-10-26T12:58:27Z
null
Frank-Dz
pytorch/vision
2,832
About the segmentation.
In the reference, I replaced the cross entropy in the semantic segmentation module with weighted cross entropy. The result was worse. The weight is calculated based on the training set. If the cross entropy is replaced by focal loss, the effect is also poor. Why is this? Still, the best loss function for semantic segme...
https://github.com/pytorch/vision/issues/2832
closed
[ "question" ]
2020-10-19T01:53:05Z
2020-10-19T07:26:20Z
null
ghost
pytorch/text
1,045
How to get the original sentences from train_iter object?
## ❓ Questions and Help **Description** Is there a easy way to print out the original input sentences instead of tensor objects? For example: ``` def eval(data_iter, model, args): model.eval() corrects, avg_loss = 0, 0 for batch in data_iter: feature, target = batch.text, batch.label ...
https://github.com/pytorch/text/issues/1045
closed
[]
2020-10-16T18:30:17Z
2020-10-16T19:25:24Z
null
sunyangfu
pytorch/pytorch
46,450
How to use GPU Tensor in diffrent GPUStreams with multi threads
thread task codes as follow: void* task_routine3(void** arg) { struct timeval time_cur; auto options = torch::TensorOptions().device(torch::kCUDA, 0); torch::Device device(torch::kCUDA, 0); pthread_t tid = pthread_self(); std::cout << tid << "Start time:" << time_cur.tv_sec << ":" << time_c...
https://github.com/pytorch/pytorch/issues/46450
closed
[]
2020-10-16T06:44:57Z
2020-10-16T22:33:05Z
null
litttl