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
497
What is the meaning of warmup_steps when I fine-tune the model, can I remove it?
```python evaluator = evaluation.EmbeddingSimilarityEvaluator(sentences1, sentences2, scores) # Define your train dataset, the dataloader and the train loss train_dataset = SentencesDataset(train_data, model) train_dataloader = DataLoader(train_dataset, shuffle=True, batch_size=32) train_loss = losses.CosineSimila...
https://github.com/huggingface/sentence-transformers/issues/497
closed
[]
2020-10-14T10:03:43Z
2020-10-14T10:31:27Z
null
wmathor
pytorch/vision
2,804
loss后面括号是什么Epoch: [0] [ 440/3560] eta: 0:22:22 lr: 0.00997769948251307 loss: 0.5050 (0.8583)
## ❓ 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/2804
closed
[ "question" ]
2020-10-14T06:19:14Z
2020-10-14T08:19:45Z
null
ghost
huggingface/sentence-transformers
494
what is the license for this repository?
https://github.com/huggingface/sentence-transformers/issues/494
closed
[]
2020-10-12T09:31:41Z
2020-10-12T09:32:15Z
null
pinkeshbadjatiya
huggingface/transformers
7,727
what is the perplexity of distilbert-base-uncased ?
# ❓ Questions & Help ## Details In the [readme](https://github.com/huggingface/transformers/tree/master/examples/distillation) , it is said that distilbert-base-uncased is pretraind on the same data used to pretrain Bert, so I wonder what is the final perplexity or cross entropy of the pretrain?
https://github.com/huggingface/transformers/issues/7727
closed
[ "wontfix" ]
2020-10-12T09:11:49Z
2020-12-20T13:34:47Z
null
OleNet
pytorch/vision
2,788
Error with torchvision.io.read_image with models
## 🐛 Bug ![image](https://user-images.githubusercontent.com/47158509/95675524-87d8bd00-0bd5-11eb-8e50-8fe1ddad0aa0.png) ## To Reproduce Steps to reproduce the behaviour: Here is simple code to reproduce the error. Notice that I'm not passing any transforms to image. Since `torchvision.io.read_image` w...
https://github.com/pytorch/vision/issues/2788
closed
[ "question", "module: transforms" ]
2020-10-11T09:51:20Z
2023-12-16T16:40:18Z
null
oke-aditya
pytorch/pytorch
46,137
How to build on Arch Linux
# How to build on Arch Linux Build from source doco: https://github.com/pytorch/pytorch#from-source ## Cheat sheet: Create new environment: ``` conda update -n base conda conda create --name pytorch-build activate pytorch-build ``` Install dependencies listed here: https://github.com/pytorch/pytorch#in...
https://github.com/pytorch/pytorch/issues/46137
closed
[]
2020-10-10T07:33:32Z
2020-10-12T04:37:49Z
null
HaleTom
pytorch/pytorch
46,081
where is the Source Code of torch.mode operator?
Hi, Developers, I use PyTorch 1.5 (build from source code) and want to check the source code of the implementation of **torch.mode**. However, I cannot find the **THFloatTensor_mode(values_, indices_, self_, dim, keepdim)**, where is it? Really want to get your reply.
https://github.com/pytorch/pytorch/issues/46081
closed
[]
2020-10-09T06:43:35Z
2020-10-10T08:42:08Z
null
ddummkopfer
pytorch/serve
712
how to register model present in local file system
I have `my-model`, present in `/path/to/models`; the path is local file system path. **command to start `torchserve`**: `docker run -p 8080:8080 -p 8081:8081 --name my-serve pytorch/torchserve:0.2.0-cpu` Then when I try to register `my-model` -> `curl -X POST "http://localhost:8081/models?url=/path/to/models/my-m...
https://github.com/pytorch/serve/issues/712
closed
[ "triaged_wait" ]
2020-10-06T10:29:33Z
2020-10-06T14:01:18Z
null
paniabhisek
pytorch/pytorch
45,856
What option(USE_NNAPI "Use NNAPI") is used for?
Hello all, there is an `option(USE_NNAPI "Use NNAPI" OFF)` within [CMakeLists.txt#L179](https://github.com/pytorch/pytorch/blob/cf48872d28f945d47793f63e19c54dd15bf580f7/CMakeLists.txt#L179) I'd like to know if this option is on, what is in this case enabled? I do have a device with NN-API driver - is this help ...
https://github.com/pytorch/pytorch/issues/45856
closed
[]
2020-10-05T18:08:27Z
2020-10-05T21:19:31Z
null
peter197321
pytorch/elastic
130
How to programmatically determine if a training job has finished using `kubectl`?
## ❓ Questions and Help How to programmatically determine if a training job has finished using `kubectl`? The field `status.replicaStatuses.Worker.succeeded` seems to indicate the number of succeeded pods. How does one determine if the whole job has succeeded? This is useful when the training job is part of a wor...
https://github.com/pytorch/elastic/issues/130
closed
[]
2020-10-03T06:12:30Z
2020-10-28T08:18:54Z
null
darthsuogles
pytorch/pytorch
45,797
How to set a correct random seed?
Hi, I am using pytorch==1.3/1.1 with 4/2 GPUs to training network. I use the following code to set random seed at the beginning of program: ` def seed_torch(seed=1029): random.seed(seed) os.environ['PYTHONHASHSEED'] = str(seed) np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual...
https://github.com/pytorch/pytorch/issues/45797
closed
[]
2020-10-03T02:49:13Z
2020-10-05T20:47:56Z
null
densechen
pytorch/serve
711
[Question] How to debug custom handlers?
Hi! I am very excited about torch serve, so thanks to all contributors to this awesome tool! I have already run my custom model with custom postprocessing and here is a question that I am struggling to find an answer on. Any help would be very appreciated! Question: How to debug my custom handlers? In other words...
https://github.com/pytorch/serve/issues/711
open
[ "triaged_wait" ]
2020-10-02T18:38:28Z
2023-04-14T00:06:23Z
null
veronikayurchuk
pytorch/vision
2,740
ValueError: All bounding boxes should have positive height and width. Found invaid box [500.728515625, 533.3333129882812, 231.10546875, 255.2083282470703] for target at index 0.
i am training detecto for custom object detection. anyone who can help me as soon as possible. i will be very grateful to you. here is the code. from detecto import core, utils, visualize dataset = core.Dataset('content/sample_data/newdataset/car/images/') model = core.Model(['car']) model.fit(dat...
https://github.com/pytorch/vision/issues/2740
closed
[ "question", "topic: object detection" ]
2020-10-02T06:11:29Z
2024-05-13T09:19:30Z
null
kashf99
pytorch/serve
706
How to serve model trained over mmdetection framework?
I have trained my model using the MMdetection framework. After training the model, I have a checkpoint file in the .pth format and config file which helps in making inference/prediction. To draw an inference or making prediction steps take the following lines to generate predictions- from mmdet.apis import init...
https://github.com/pytorch/serve/issues/706
closed
[ "bug", "triaged_wait" ]
2020-09-30T10:36:39Z
2022-07-30T13:40:08Z
null
Atul997
pytorch/tutorials
1,171
Efficiency of dcgan tutorial
When I run the [dcgan_faces_tutorial.py](https://github.com/pytorch/tutorials/blob/master/beginner_source/dcgan_faces_tutorial.py) script, I have noticed that two python processes are created on the CPU according to the top command. ``` 27062 mahmood 20 0 9404132 1.5g 90116 D 31.9 1.6 5:55.09 python3 ...
https://github.com/pytorch/tutorials/issues/1171
closed
[ "question", "module: vision", "docathon-h1-2023", "medium" ]
2020-09-29T12:21:24Z
2023-06-01T07:18:28Z
null
mahmoodn
pytorch/examples
830
imagenet how to download the classicication dataset?
https://github.com/pytorch/examples/issues/830
closed
[]
2020-09-29T07:05:24Z
2022-03-09T21:31:26Z
null
henbucuoshanghai
pytorch/text
1,013
How to pass new pre-trained embeddings while sharing the same vocabulary across torchtext.Field?
## ❓ Questions and Help **Description** I was trying to concatenate two embedding layers in my CNN from two different pre-trained embeddings, before applying my convolutions. Here's the basic workflow: # Load pre-trained embeddings (dim=100) from torchtext.vocab import Vectors vectors_amazon = V...
https://github.com/pytorch/text/issues/1013
open
[ "legacy" ]
2020-09-28T17:27:14Z
2020-10-05T13:38:07Z
null
jacopo-repossi
pytorch/vision
2,717
What's the pretrained_settings for r2plus1d_18?
## ❓ 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/2717
closed
[ "question", "module: models", "module: video" ]
2020-09-28T12:00:52Z
2020-09-29T12:20:12Z
null
XinyuLyu
pytorch/vision
2,711
Test the model with an image
Hello I compressed Mask R-CNN and finished the training, but the checkpoint (.pth) is different from the regular one, what can I do if I want to load the checkpoint to Mask R-CNN to test its speed with a new image? Thank you!
https://github.com/pytorch/vision/issues/2711
closed
[ "question", "module: models", "topic: object detection" ]
2020-09-27T16:26:52Z
2020-09-28T10:00:04Z
null
jiaerfei
pytorch/pytorch
45,387
How to build from a release tar package ?
Hi, I download newest release tar package and find it can not build pytorch, Can anyone help meo build this release version from source? ``` wget https://github.com/pytorch/pytorch/archive/v1.6.0.tar.gz tar xf v1.6.0.tar.gz cd pytorch-1.6.0 python3 setup.py install ``` output: fatal: not a git repository (o...
https://github.com/pytorch/pytorch/issues/45387
closed
[ "module: binaries", "triaged" ]
2020-09-27T03:09:03Z
2020-09-29T19:11:21Z
null
haoren3696
pytorch/pytorch
45,386
How to convert pytorch model to Nvidia faster transformer?
Hi, i want to detect Bert model structure in pytorch model and convert the structure by Nvidia faster transformer op automatically. Is there any existing project? If not, i want to develop one, so should i develop on origin pytorch or TorchScript? Should i develop a pass to detect Bert in TorchScript IR and replace it...
https://github.com/pytorch/pytorch/issues/45386
closed
[]
2020-09-27T02:08:14Z
2020-09-28T15:56:34Z
null
wangxiang2713
pytorch/examples
826
language model bug?
https://github.com/pytorch/examples/blob/master/word_language_model/data.py#L46 on the last iteration of the loop ids holds onto the tensor before catting idss but no other iteration of ids is. I get significantly better results after adding: ids = [] Before catting idss into ids.
https://github.com/pytorch/examples/issues/826
closed
[]
2020-09-25T18:14:49Z
2020-09-25T18:44:08Z
0
wesboyt
pytorch/tutorials
1,166
Char RNN classification with batch size
I'm replicating [this example](https://github.com/pytorch/tutorials/blob/master/intermediate_source/char_rnn_classification_tutorial.py) for a **classification** with a **char-rnn**. ```python for iter in range(1, n_iters + 1): category, line, category_tensor, line_tensor = randomTrainingExample() output, l...
https://github.com/pytorch/tutorials/issues/1166
closed
[ "question", "Text" ]
2020-09-25T17:57:29Z
2024-12-11T17:57:11Z
null
paulthemagno
pytorch/pytorch
45,331
How to print C++ log like GRAPH_DEBUG?
## ❓ 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/45331
closed
[]
2020-09-25T06:37:24Z
2020-09-25T14:36:45Z
null
liym27
pytorch/pytorch
45,328
How long would it takes for pytorch cuda version to support RTX30 series?
## 🚀 Feature As the title. When would pytorch cuda version support RTX30 series?
https://github.com/pytorch/pytorch/issues/45328
closed
[]
2020-09-25T05:55:51Z
2020-10-04T10:58:05Z
null
GregXu247
pytorch/pytorch
45,266
how to register hook on +, - ,*, / or how to get the input of them?
## ❓ 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/45266
closed
[]
2020-09-24T09:20:57Z
2020-09-25T15:08:27Z
null
Stick-To
pytorch/tutorials
1,163
How do I go back to the old view of the site
Hi, I like the old version of the Pytorch website on the tutorial that I can view everything at once. But now they changed that I can only view like 7 to 5 of it on one page. How do I go back to the old one?
https://github.com/pytorch/tutorials/issues/1163
open
[]
2020-09-21T09:32:53Z
2020-09-21T09:32:53Z
null
AliceSum
pytorch/pytorch
45,059
How to view C++ error report stack of 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/45059
closed
[ "triaged" ]
2020-09-21T09:09:54Z
2020-09-22T16:28:17Z
null
liym27
pytorch/xla
2,502
How to prevent cyclic computation graph in torch xla multiprocessing?
## ❓ Questions and Help Hi, I am trying to build a dynamics simulator software on the TPU. On the high level, it basically needs to do this (I have pre-trained the model separately elsewhere): ``` for i in range(num_of_step): forces = model(positions) new_positions = update_functions(forces, positions...
https://github.com/pytorch/xla/issues/2502
closed
[ "stale" ]
2020-09-20T00:10:10Z
2020-11-02T01:19:35Z
null
jpmailoa
pytorch/tutorials
1,162
Problem of QAT Demo?
When i try PyTorch QAT Demo [GitHub File](https://github.com/pytorch/tutorials/blob/master/advanced_source/static_quantization_tutorial.py) [Webpage](https://pytorch.org/tutorials/advanced/static_quantization_tutorial.html#quantization-aware-training), i want to know how to find the scale and zero_point of the activati...
https://github.com/pytorch/tutorials/issues/1162
closed
[]
2020-09-19T13:53:34Z
2020-09-20T13:05:45Z
0
wZuck
pytorch/pytorch
44,924
How to get the information like the output of Model.get_config() in keras?
## ❓ 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/44924
closed
[]
2020-09-18T00:54:18Z
2020-09-21T16:01:05Z
null
Stick-To
pytorch/java-demo
15
any instructions on how to use the downloaded libtorch in Maven project?
I am not familiar with Maven and I want to get some help on how to use the same libtorch in a Maven project, could anyone give me some hint?
https://github.com/pytorch/java-demo/issues/15
closed
[]
2020-09-17T07:02:53Z
2021-07-19T19:11:47Z
null
xiaonanchong
pytorch/examples
822
Gradient vanishing of G in the DCGAN example
Hello, I have trained the DCGAN with the default hyper-parameter settings on the downloaded "img_align_celeba" dataset (recommended in the tutorial). However, the results reveal strong gradient vanishing of G. While Loss_D keeps decreasing towards 0, Loss_G grows high (towards 100). It seems that D is trained so...
https://github.com/pytorch/examples/issues/822
open
[ "help wanted" ]
2020-09-11T14:02:58Z
2022-03-09T21:32:12Z
0
zhan4817
pytorch/serve
681
how to deploy sentence transformer model which has bert-base-nli-mean-tokens weights using torchserve
i tried so many times to deploy my model using torchserve , it did not work sometimes it is coming like this 2020-09-11 10:41:02,757 [INFO ] W-9004-encoder_model_1.0-stdout org.pytorch.serve.wlm.WorkerLifeCycle - File "/tmp/models/a7e46f396a6348deba9e844a002f7b36/handler.py", line 61, in handle 2020-09-11 10:...
https://github.com/pytorch/serve/issues/681
closed
[ "triaged_wait" ]
2020-09-11T05:16:34Z
2021-11-06T07:00:17Z
null
mgeethabhargava
pytorch/pytorch
44,460
How to package pytorch with the file build from source.
## ❓ Questions and Help I've noticed in https://github.com/pytorch/pytorch/issues/31285 that pytorch only compile binaries for NV cards with CC 3.7 and up. Now i've build pytorch from source on my machine. Is there any way to package it into a new pip image please? Thanks a lot. cc @malfet @seemethere @walterdd...
https://github.com/pytorch/pytorch/issues/44460
closed
[ "module: build", "triaged" ]
2020-09-10T08:18:15Z
2022-10-20T22:55:01Z
null
Abbyyan
pytorch/pytorch
44,448
How to print optimized IR?
I read Pytorch 1.6 code: torch/csrc/jit/runtime/graph_executor.cpp, and see: ``` Inline(*opt_graph); GRAPH_DEBUG("After Inline, before LowerGradOf\n", *opt_graph); LowerGradOf(*opt_graph); GRAPH_DEBUG( "After LowerGradOf, before specializeAutogradZero\n", *opt_graph); ``` I want to print optimized IR, so i ...
https://github.com/pytorch/pytorch/issues/44448
closed
[ "oncall: jit" ]
2020-09-10T03:02:33Z
2020-09-16T03:16:38Z
null
wangxiang2713
pytorch/pytorch
44,377
How to get optimized IR?
## How to get optimized IR? Hi, i can get torch_script IR by print(script.grah), and i know the IR will be optimized several times while running. So how can i get all of optimized IR while running torchscript code? Thankyou.
https://github.com/pytorch/pytorch/issues/44377
closed
[]
2020-09-09T11:55:03Z
2020-09-09T14:41:25Z
null
wangxiang2713
pytorch/pytorch
44,353
DDP training with syncBatchNorm,how to catch and handle the exception in training processes?
When training with the DDP and syncBatchNorm, one process runing on one GPU, When I catch the gpu OOM exception, the training is blocked. What should we do? My code is following, when OOM exception occurs in one process, I just ignore this batch, the training phase continue. ``` for i, (inputs, targets) in enumera...
https://github.com/pytorch/pytorch/issues/44353
closed
[ "oncall: distributed", "triaged" ]
2020-09-09T01:53:41Z
2020-09-10T02:44:35Z
null
eeewhe
pytorch/vision
2,652
Image to Tensor data
Library: **pytorch_java_only-1.6.0** I want to convert BufferedImage/File to Tensor data, is there some method or library for this? Python solution: ``` image = Image.open(image_path) image = image.convert('RGB') transform = Compose([ToTensor()]) image = transform(image) image = image.view(1, 3, 64, 64)...
https://github.com/pytorch/vision/issues/2652
closed
[ "question" ]
2020-09-07T21:19:22Z
2020-09-09T13:14:49Z
null
beeqwe
pytorch/pytorch
44,279
How to use CUDA Dynamic Parallelism in PyTorch CPP extension?
I found discussions at discuss.pytorch.org . But there is still no solution now. Here is the error message: ``` error: kernel launch from __device__ or __global__ functions requires separate compilation mode ``` and ``` error: a __device__ function call cannot be configured ``` Thanks. cc @ngimel
https://github.com/pytorch/pytorch/issues/44279
open
[ "module: cuda", "triaged" ]
2020-09-07T10:55:28Z
2021-09-18T11:30:15Z
null
qinjian623
pytorch/examples
821
Recommended RAM for training ResNeXt-101?
I am training a ResNeXt-101 model in an end-to-end manner on a version of ImageNet with 13k classes (using the method presented of the ImageNet Shuffle paper). This version contains around 12 M images. My machine has a single NVIDIA GeForce RTX 2080, intel i5 9400 and 16 GB of RAM. I am deploying 4 workers for this tas...
https://github.com/pytorch/examples/issues/821
closed
[]
2020-09-07T08:40:05Z
2022-03-09T21:36:05Z
1
AlexMetsai
pytorch/vision
2,647
rgb2hsv bug in functional_tensor.py.
https://github.com/pytorch/vision/blob/bb88c4520b835e79d5d3c4423eb7ff7c26fa2043/torchvision/transforms/functional_tensor.py#L429-L442 As stated in the comments, when `r=g=b`, the calculation of `h` is expected to be value `6`. However, in the current implementation, only `hr` will be counted in, because `hg` and `hr...
https://github.com/pytorch/vision/issues/2647
closed
[ "question", "module: transforms" ]
2020-09-07T03:34:24Z
2020-09-09T10:08:37Z
null
yelantf
pytorch/pytorch
44,265
How to run a simple benchmark test on a custom RNN?
Say I have a custom LSTM cell... how can I use this repository to run a simple benchmark test on that?
https://github.com/pytorch/pytorch/issues/44265
closed
[ "triaged" ]
2020-09-06T20:11:40Z
2020-09-09T16:37:19Z
null
slerman12
pytorch/benchmark
73
Add docs on how to profile benchmark models
https://github.com/pytorch/benchmark/issues/73
closed
[]
2020-09-02T21:10:29Z
2023-07-26T18:51:23Z
null
wconstab
pytorch/TensorRT
181
❓ [Question] Is the module compiled by TRTorch thread safe?
Hi If the native torchscript module is thread safe when its `forward` function is called from multithread, would the module compiled by TRTorch be thread safe?
https://github.com/pytorch/TensorRT/issues/181
closed
[ "feature request", "question" ]
2020-09-02T10:34:46Z
2021-11-11T01:23:36Z
null
uni19
pytorch/pytorch
43,946
How to use torch.nn.SyncBatchNorm and torch.uitls.checkpoint together
When I use net = torch.nn.SyncBatchNorm.convert_sync_batchnorm(net) to convert model,and use torch.uitls.checkpoint in model ,loss backward, It seems to be stuck in process communication
https://github.com/pytorch/pytorch/issues/43946
closed
[]
2020-09-01T09:29:37Z
2020-09-01T09:47:25Z
null
devilztt
huggingface/transformers
6,790
What is the size of the context window in the 'openai-gpt' pre-trained model?
What is the size of the context window in the 'openai-gpt' pre-trained model? # ❓ 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 the Hugging Face forum: https://...
https://github.com/huggingface/transformers/issues/6790
closed
[ "wontfix" ]
2020-08-28T09:17:02Z
2020-11-07T05:42:47Z
null
lzl19971215
pytorch/serve
654
How to change Temp Directory?
## 📚 Documentation <!-- A clear and concise description of what content in https://pytorch.org/serve/ is an issue. If this has to do with the general https://pytorch.org website, please file an issue at https://github.com/pytorch/pytorch.github.io/issues/new/choose instead. If this has to do with https://pytorch.or...
https://github.com/pytorch/serve/issues/654
closed
[ "triaged_wait" ]
2020-08-27T09:06:21Z
2020-08-27T09:34:02Z
null
CSLujunyu
pytorch/vision
2,624
RuntimeError: each element in list of batch should be of equal size
## 🐛 Bug ```python "python3.7/site-packages/torch/utils/data/_utils/collate.py", line 82, in default_collate raise RuntimeError('each element in list of batch should be of equal size') RuntimeError: each element in list of batch should be of equal size ``` <!-- A clear and concise description of what the bug...
https://github.com/pytorch/vision/issues/2624
closed
[ "question", "module: datasets" ]
2020-08-27T05:53:50Z
2021-03-31T06:56:03Z
null
ZhiyuanChen
pytorch/pytorch
43,625
How to see the weight value of the quantified model?
How to see the weight value of the quantified model? Error: ``` torch.nn.modules.module.ModuleAttributeError: 'LinearPackedParams' object has no attribute '_parameters' ``` Code: ``` import torch import numpy as np import matplotlib.pyplot as plt MODLE_LOCATION = "./models/mfi_0.97400.pth" MODLE_LOC...
https://github.com/pytorch/pytorch/issues/43625
closed
[ "oncall: quantization", "triaged" ]
2020-08-26T15:31:53Z
2020-08-26T16:23:03Z
null
YongtaoHuang1994
pytorch/pytorch
43,536
How do I debug "RuntimeError: trying to initialize the default process group twice!"
## 🐛 Bug When triggering distributed training in pytorch, the error `RuntimeError: trying to initialize the default process group twice!` occurs. How would one debug it? ## To Reproduce Steps to reproduce the behavior: 1. on master node ip 10.163.60.19, run `local_rank=0; master_port=1303; python -m torch....
https://github.com/pytorch/pytorch/issues/43536
open
[ "oncall: distributed", "triaged" ]
2020-08-25T02:55:51Z
2023-12-04T14:46:49Z
null
wakandan
pytorch/pytorch
43,489
How to extract the hidden feature of a multi-submodule model
How to extract the feature in advantage (with dim=512), given a PyTorch model like below. DuelingCnnDQN( (cnn): Sequential( (0): Conv2d(1, 32, kernel_size=(8, 8), stride=(4, 4)) (1): ReLU() (2): Conv2d(32, 64, kernel_size=(4, 4), stride=(2, 2)) (3): ReLU() (4): Conv2d(64, 64, kernel_size=(3...
https://github.com/pytorch/pytorch/issues/43489
closed
[]
2020-08-24T11:50:57Z
2020-08-24T20:51:30Z
null
xinghua-qu
pytorch/pytorch
43,463
from sources install pytorch on ubuntu18.04,the question is this.What should I do ?
-- Generating done -- Build files have been written to: /home/wuji/pytorch/build Traceback (most recent call last): File "setup.py", line 737, in <module> build_deps() File "setup.py", line 321, in build_deps cmake=cmake) File "/home/wuji/pytorch/tools/build_pytorch_libs.py", line 59, in build_caff...
https://github.com/pytorch/pytorch/issues/43463
closed
[ "module: build", "triaged" ]
2020-08-23T02:05:48Z
2020-08-25T22:26:18Z
null
functail
pytorch/vision
2,599
Change default value of eps in FrozenBatchNorm to match BatchNorm
## ❓ Questions and Help Hello Loss is nan error occurs when I learn fast rcnn with resnext101 backbone My code is as follows ```python backbone = resnet_fpn_backbone('resnext101_32x8d', pretrained=True) model = FasterRCNN(backbone, num_classes) in_features = model.roi_heads.box_predictor.cls_score.in_features m...
https://github.com/pytorch/vision/issues/2599
closed
[ "question", "topic: object detection" ]
2020-08-21T04:56:22Z
2020-12-10T10:05:26Z
null
juyunsang
pytorch/pytorch_sphinx_theme
78
How to use it? Canonical way seems to not work
Dear All, I have installed the theme using ``` pip install git+https://github.com/pytorch/pytorch_sphinx_theme.git ``` imported and included in my `conf.py` file as follows: ```python extensions = [ "sphinx.ext.autodoc", "sphinx.ext.githubpages", 'sphinx.ext.coverage', "sphinx.ext.nap...
https://github.com/pytorch/pytorch_sphinx_theme/issues/78
closed
[]
2020-08-18T12:50:08Z
2020-08-18T12:50:50Z
null
FrancescoSaverioZuppichini
huggingface/tokenizers
374
where is the pre-build tokenizers for 'merge.txt and vacab.json'
or how to build my private version
https://github.com/huggingface/tokenizers/issues/374
closed
[]
2020-08-17T08:45:13Z
2021-01-06T20:02:22Z
null
SeekPoint
pytorch/pytorch
43,135
How to use torch.utils.checkpoint and DistributedDataParallel together
when I use DistributedDataParallel in mutil-GPU , If I use checkpoint in the model forward ,it can not work cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @xush6528 @osalpekar @jiayisuse @agolynski
https://github.com/pytorch/pytorch/issues/43135
closed
[ "oncall: distributed", "triaged" ]
2020-08-17T06:54:13Z
2023-01-20T14:40:29Z
null
devilztt
pytorch/xla
2,433
How to speed up the compilation process for contributor for c++ lib
## ❓ Questions and Help When I only modify 1 c++ file, I expect the compile process only need rebuild this c++ file and do related link process. In PyTorch, it uses ninja to speed up this process. But when use "DEBUG=1 python setup.py develop", it will recompile whole TensorFlow and xla code by Bazel, it take a l...
https://github.com/pytorch/xla/issues/2433
closed
[]
2020-08-17T02:22:04Z
2020-08-19T00:20:11Z
null
maxwillzq
pytorch/text
938
How to use Torchtext model in flask app with vocabulary and vectors?
## ❓ Questions and Help I have the the following code for my model: ``` TEXT = data.Field(tokenize="spacy", include_lengths=True) LABEL = data.LabelField(dtype=torch.float) from torchtext import datasets train_data, valid_data = train_data.split(random_state=random.seed(SEED)) train_data, test_data = dataset...
https://github.com/pytorch/text/issues/938
closed
[]
2020-08-16T19:54:22Z
2020-08-24T14:16:22Z
null
EmreTokyuez
pytorch/audio
879
How to index subsegments of audio tensor based on time
## How to select a subsegment from a tensor Hello! This may be a very noobie question but I can't get to solve it on my own. Lets say I want to select the first 10 seconds of an audio sample that I have loaded into a torch tensor with torchaudio, how should I determine the indexes of the tensor that correspon...
https://github.com/pytorch/audio/issues/879
closed
[]
2020-08-14T11:40:28Z
2020-08-14T19:12:34Z
null
jiwidi
pytorch/pytorch
42,996
How to use and debug mixed-precision in 1.6.0 ?
## ❓ Questions and Help Hi. I've been trying to take advantage of new mixed-precision set of tools, mainly following the instructions given in https://pytorch.org/docs/stable/amp.html#autocasting. My code is running, I see that the gradients are being scaled as expected, however, my memory footprint is de facto the ...
https://github.com/pytorch/pytorch/issues/42996
closed
[ "module: docs", "triaged", "module: amp (automated mixed precision)" ]
2020-08-13T10:00:53Z
2020-08-31T13:02:07Z
null
djordjemila
pytorch/TensorRT
171
🐛 [Bug] Encountered bug when using TRTorch 0.3.0 and torch_1.6.0_update versions on Jetson Xavier AGX
## ❓ Question Are there some missing instructions on how to build the TRTorch 'torch_1.6.0_update' for Jetson Xavier AGX?<!-- Your question --> ## What you have already tried - Downloaded two TRTorch versions: 0.3.0. tag and torch_1.6.0_update - Follow the Compilations TRTorch instructions of both versions ...
https://github.com/pytorch/TensorRT/issues/171
closed
[ "question", "No Activity" ]
2020-08-13T08:46:40Z
2020-09-23T00:05:53Z
null
OronG13
pytorch/audio
876
Where is version.py if I insist on building from source?
When I tried to install by `pip setup.py build`, I obtained the following **ERROR** message: ```console -- Building version 0.7.0a0 Traceback (most recent call last): File "setup.py", line 30, in <module> with open(version_path, 'w') as f: TypeError: expected str, bytes or os.PathLike object, not PosixPat...
https://github.com/pytorch/audio/issues/876
closed
[]
2020-08-12T09:01:40Z
2020-08-14T20:31:04Z
null
jiapei100
pytorch/text
919
Where is version.py if I insist on building from source?
When I tried to install by `pip setup.py build`, I obtained the following **ERROR** message: ```console Traceback (most recent call last): File "setup.py", line 48, in <module> _export_version(VERSION, SHA) File "setup.py", line 42, in _export_version with open(version_path, 'w') as fileobj: Type...
https://github.com/pytorch/text/issues/919
open
[]
2020-08-12T09:00:36Z
2020-08-13T13:51:20Z
null
jiapei100
pytorch/vision
2,578
Calculate Training Accuracy on resnet152
I'm trying to calculate training accuracy on resnet152, however `loss_dict = model(images, targets)` only contains loss values. Usually the model accepts only the images and the outputs are then passed to a loss function as well as used to calculate the accuracy. Calling it without the targets parameter results i...
https://github.com/pytorch/vision/issues/2578
closed
[ "invalid", "question", "module: models" ]
2020-08-11T22:30:00Z
2020-08-21T14:11:44Z
null
FrostByteGER
pytorch/tutorials
1,117
But in Spatial Transformer Network?
Hi, I am opening this issue because I noticed a weird behavior of the the spatial transformer networks implementation (https://github.com/pytorch/tutorials/blob/78e91c54dd0cd4fb0d02dfcc86fe94d16ab03df6/intermediate_source/spatial_transformer_tutorial.py#L57) I summarized my findings [here](https://github.com/theR...
https://github.com/pytorch/tutorials/issues/1117
open
[ "Text", "medium", "docathon-h2-2023" ]
2020-08-11T11:37:35Z
2023-11-01T16:41:21Z
5
theRealSuperMario
pytorch/vision
2,574
ValueError: bad value(s) in fds_to_keep
Traceback (most recent call last): File "/home/sucom/hdd_1T/project/video_rec/my_video_rec/self_video_train.py", line 161, in <module> trainer.train(task) File "/home/sucom/.conda/envs/classy_vision/lib/python3.6/site-packages/classy_vision/trainer/local_trainer.py", line 27, in train super().train(task...
https://github.com/pytorch/vision/issues/2574
closed
[ "invalid", "question" ]
2020-08-11T05:18:17Z
2020-08-11T17:21:26Z
null
siyangbing
pytorch/vision
2,572
How to fill in splits_dir and metadata_file in the video classification, my ufc101 data set only has pictures, how can I get them, if I can provide any help, I would be very grateful
## ❓ 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/2572
closed
[]
2020-08-11T02:35:10Z
2020-08-11T06:16:55Z
null
siyangbing
pytorch/pytorch
42,777
custom function too slow, how to be as fast as native?
## function/Module too slow ### conext ubuntu18.04.1 64 cuda11 pytorch1.6 ``` class Relu0(Function): @staticmethod def forward(ctx, input,d=1): ctx.save_for_backward(input) # save input for backward pass x=torch.clone(input) x[x<0]=0 return x @staticme...
https://github.com/pytorch/pytorch/issues/42777
closed
[ "module: performance", "triaged" ]
2020-08-08T11:36:06Z
2020-08-15T07:48:42Z
null
laohur
pytorch/text
912
How to combine train and test set for IMDB Dataset in Torchtext / Pytorch
## ❓ Questions and Help I want to use the examples in the test set of the IMDB Sentiment Analysis Dataset for training, as I have built my own benchmark with which I will compare the performance of various Models (my Matura Thesis) So after trying, I got the appending working and also managed ot split it, so ...
https://github.com/pytorch/text/issues/912
closed
[ "legacy" ]
2020-08-07T11:10:51Z
2020-08-08T22:34:43Z
null
EmreTokyuez
pytorch/pytorch
42,722
How to build libtorch static libraries on Windows?
I'm developing the Windows program using libtorch dynamic libraries released on pytorch website. However, I find the dynamic libraries are quite large (the torch_cpu.dll is larger than 100MB). Is there the static library version, or how could I build the libtorch static library by myself? Look forward to your respon...
https://github.com/pytorch/pytorch/issues/42722
closed
[ "module: binaries", "module: build", "module: windows", "triaged", "windows-triaged" ]
2020-08-07T02:37:24Z
2024-08-12T13:36:33Z
null
lawlict
pytorch/tutorials
1,110
How to Inference non-val images in Transfer Learning Tutorial
The transfer learning tutorial is great, however it leaves off after evaluating the accuracy of the model. My goal is to then use the model that has been created to inference other images, but have run into trouble getting the new data adhere to the correct format and shape. Do you have any insight on how I could do th...
https://github.com/pytorch/tutorials/issues/1110
closed
[ "torchvision", "docathon-h1-2023", "medium" ]
2020-08-06T00:53:45Z
2023-06-09T18:17:55Z
null
ScottMoffatLittle
pytorch/vision
2,555
Unable to load fasterrcnn state_dict with custom num_classes
## 🐛 Bug torchvision.models.detection.fasterrcnn_resnet50_fpn() giving error when the parameter pretrained is set to True and num_classes parameter is also supplied(other than 91). ## To Reproduce Steps to reproduce the behavior: ``` >> from torchvision import models >> my_model = models.detection.faste...
https://github.com/pytorch/vision/issues/2555
closed
[ "question", "module: models" ]
2020-08-05T13:09:57Z
2020-08-05T15:14:34Z
null
devarshi16
pytorch/tutorials
1,104
Error on https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html ?
In Section 6 of https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html, the following code is presented: ``` def add_pr_curve_tensorboard(class_index, test_probs, test_preds, global_step=0): ''' Takes in a "class_index" from 0 to 9 and plots the corresponding precision-recall curve ...
https://github.com/pytorch/tutorials/issues/1104
closed
[ "docathon-h1-2023", "medium" ]
2020-08-04T20:43:47Z
2023-10-05T16:51:09Z
6
motiwari
pytorch/pytorch
42,505
how to use get_trace_graph to get the attribute of a node in trace graph in pytorch 1.6?
In pytorch 1.1 when using get_trace_graph to trace the model, we could get the node's attibution as follows: %469 : bool = prim::Constant[value=0](), scope: Model/Backbone[backbone]/ConvBn[conv1]/BatchNorm2d[bn] Then we could get the the attribution of the Node: backbone.conv1.bn and its class BatchNorm. Then how ...
https://github.com/pytorch/pytorch/issues/42505
closed
[ "oncall: jit", "triaged", "days" ]
2020-08-04T03:02:51Z
2020-08-13T11:20:07Z
null
ioou
pytorch/pytorch
42,445
how to run SVM/Random forest/xgboost on the 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/42445
closed
[]
2020-08-03T10:12:34Z
2020-08-03T17:17:24Z
null
cvJie
pytorch/pytorch
42,439
How to use libtorch on Jetson TX2
Refer to https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048,I successfully installed Pytorch 1.0.0 and torchvision0.2.2 on jetpack4.3.According to the authentication method, I also succeeded in authentication: python–>import torch… However,I want to call a scriptModel by li...
https://github.com/pytorch/pytorch/issues/42439
open
[ "module: binaries", "triaged", "module: arm" ]
2020-08-03T06:14:11Z
2020-08-05T21:03:37Z
null
xifanlover
pytorch/pytorch
42,404
How to deploy a "LSTMcell" style attention by torch.onnx?
I'm deploying a NMT network and I fail when I try to define attention module. The first thing is that,when i put nn.LSTMcell in my init function,it would raise some errors which may caused by no inplementation in torch.onnx. And when I want to replace it with nn.LSTM, i still get an error with torch.onnx: ``` cla...
https://github.com/pytorch/pytorch/issues/42404
closed
[ "oncall: jit", "module: onnx" ]
2020-08-01T10:31:10Z
2021-10-18T05:09:31Z
null
andylida
huggingface/sentence-transformers
335
What is the key difference between mean pooling BERT vs. mean pooling sentence-transformers?
Hi! If I run sentence-transformers without pre-training, is it equivalent to apply mean-pooling to the last layer of BERT? For example, if I run the below code, ```python # Use BERT for mapping tokens to embeddings word_embedding_model = models.Transformer('bert-base-uncased') # Apply mean pooling to get on...
https://github.com/huggingface/sentence-transformers/issues/335
open
[]
2020-08-01T02:35:56Z
2020-08-01T08:39:45Z
null
yuwon
pytorch/TensorRT
163
❓ [Question] Could your team provide a cmake version?
## ❓ Question I think many people block in building stage?
https://github.com/pytorch/TensorRT/issues/163
closed
[ "question" ]
2020-07-31T14:22:24Z
2020-08-01T02:29:39Z
null
alanzhai219
huggingface/pytorch-image-models
205
when I use the old version, the result is good,but I update the newest code, the result is error.what's wrong with me?
same dataset,and same train scripts,with this: ` ./distributed_train.sh 2 /data/data/product/product --model swsl_resnet50 --epochs 20 --warmup-epochs 1 --lr 0.001 --batch-size 16 --img-size 224 --num-classes 30 --pretrained --amp ` the old code result: Train: 10 [ 0/185 ( 0%)] Loss: 0.866020 (0.8660) Ti...
https://github.com/huggingface/pytorch-image-models/issues/205
closed
[]
2020-07-31T09:54:39Z
2020-08-03T09:45:04Z
null
runauto
pytorch/pytorch
42,349
I want to build the pytorch and link with openblas static library, so how to modify the CMakeList.txt ?
https://github.com/pytorch/pytorch/issues/42349
closed
[]
2020-07-31T02:01:02Z
2020-08-01T08:25:07Z
null
lfcarol
pytorch/pytorch
42,268
how to enable CUDNN_TENSOR_OP_MATH for float32 torch.mm operator
I am wondering in pytorch, how to enable tensor cores for float32 torch.mm operations. I posted the same question at https://discuss.pytorch.org/t/using-nvidia-tensor-core-for-float-mm-computation/90901, but got no response. Thanks. cc @ngimel
https://github.com/pytorch/pytorch/issues/42268
closed
[ "module: cuda", "triaged" ]
2020-07-30T00:58:17Z
2020-07-30T01:48:39Z
null
shz0116
pytorch/serve
566
How to use model archiver utility for complex projects?
I am trying to serve the model from the [NCRFpp](https://github.com/jiesutd/NCRFpp) project using torchserve. The files that are required by my custom _handler.py_ file are in multiple folders and have import statements which refer to this folder hierarchy. The model archiver zips all these files and extracts into a te...
https://github.com/pytorch/serve/issues/566
closed
[ "triaged_wait" ]
2020-07-29T13:44:24Z
2023-01-12T01:56:23Z
null
sagjounkani
pytorch/examples
806
How to use torch.multiprocessing in Windows
The following error occurred when I used the torch.multiprocessing [demo](https://github.com/pytorch/examples/tree/master/mnist_hogwild) provided by Pytorch. C:\Users\user\anaconda3\python.exe D:/HPO-Pro/PBT3/main_demo.py cuda cuda THCudaCheck FAIL file=..\torch/csrc/generic/StorageSharing.cpp line=247 error=801 ...
https://github.com/pytorch/examples/issues/806
open
[ "windows" ]
2020-07-29T09:06:18Z
2022-03-09T20:46:19Z
null
zhong-xin
huggingface/transformers
6,092
i dont know what Tranier`s Dataset is.
# ❓ 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 the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
https://github.com/huggingface/transformers/issues/6092
closed
[]
2020-07-28T13:11:48Z
2020-07-28T13:48:43Z
null
Ted8000
pytorch/serve
558
Is there a way to test my handle file before serving my model?
Hi, i recently use TorchServer to serving my model. For each model i write a handle file, but i don't know how to test it. Is there a way to test my handle file before serving my model?
https://github.com/pytorch/serve/issues/558
closed
[ "question", "triaged_wait" ]
2020-07-28T09:35:33Z
2020-08-21T04:06:11Z
null
wangxiang2713
pytorch/TensorRT
157
“error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory” when running sample
I'm trying to run the sample code. I've installed TRTorch according to the official [TRTorch](https://nvidia.github.io/TRTorch/tutorials/installation.html) instruction. When the sample code is run (with the below command from this link) the given error arise: <br/> >sudo bazel run //cpp/trtorchexec -- $(realpath /hom...
https://github.com/pytorch/TensorRT/issues/157
closed
[ "question", "No Activity" ]
2020-07-28T08:02:31Z
2023-03-23T07:18:44Z
null
Soroorsh
huggingface/pytorch-image-models
201
where is CheckpointSaver?
hello, going over your repo (thx for the great repo btw) I can't find where the code for CheckpointSaver is... nor do I find any checkpoint saved in my pc.. where can I find them??
https://github.com/huggingface/pytorch-image-models/issues/201
closed
[]
2020-07-28T03:51:45Z
2020-07-28T04:32:20Z
null
ooodragon94
pytorch/vision
2,508
Number of anchors VS. number of aspect ratios.
https://github.com/pytorch/vision/blob/1aef87d01eec2c0989458387fa04baebcc86ea7b/torchvision/models/detection/faster_rcnn.py#L188 The line above seems to fetch, for each location, the number of aspect ratios of anchors (not multiplying by the number of different sized anchors).
https://github.com/pytorch/vision/issues/2508
closed
[ "question", "module: models", "topic: object detection" ]
2020-07-25T16:15:42Z
2020-07-30T12:30:11Z
null
fulkast
pytorch/vision
2,505
Error when training Resnet with nn.DistributedDataParallel
When I try to train [Resnet](https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py) with `nn.DistributedDataParallel` using multi-gpus, the error occurs as below. But when I use only one gpu, it's just ok. ![image](https://user-images.githubusercontent.com/40142236/88374211-ed35c280-cdcb-11ea-8...
https://github.com/pytorch/vision/issues/2505
closed
[ "question", "module: models", "topic: classification" ]
2020-07-24T08:38:04Z
2020-08-10T11:51:33Z
null
alwayshjia
pytorch/serve
553
Dump system metrics in a database
How should I access system metrics to dump it in a SQL database? Also, what are the best practices for logging inference predictions in a database?
https://github.com/pytorch/serve/issues/553
closed
[ "question", "triaged_wait" ]
2020-07-24T07:23:39Z
2020-08-07T08:25:47Z
null
vishal-wiai
pytorch/pytorch
41,935
How to Upgrade PyTorch to 1.6 in Docker Image
## ❓ How to Upgrade PyTorch to 1.6 in Docker Image? ### Hi, I have a docker image that has pytorch 1.4, torchvision 0.5, cudnn 7.6.5 and cuda 10.1, and other tools and packages. I want to upgrade my pytorch to 1.6. Is there some way to do it without rebuild the whole image again? Thanks! We have a set of [list...
https://github.com/pytorch/pytorch/issues/41935
closed
[ "module: binaries", "triaged", "module: docker" ]
2020-07-23T17:56:25Z
2021-01-26T20:11:26Z
null
zhenhuahu
pytorch/examples
802
How to use a pre-trained models weights?
How do we specify to use the pre-trained model? Typing in python main.py -a mobilenet_v2 is not giving me the model with pretrained weights.
https://github.com/pytorch/examples/issues/802
closed
[]
2020-07-22T22:36:47Z
2022-03-09T21:37:31Z
null
stunbomb
pytorch/vision
2,502
Why do we need target put .to(device)?
Consider key points detection task. The question refers to this line https://github.com/pytorch/vision/blob/1aef87d01eec2c0989458387fa04baebcc86ea7b/references/detection/engine.py#L86 Seems to be redundant. In my case, I comment out this line and remove .item() in line 95, and at least evaluation starts. Moreover...
https://github.com/pytorch/vision/issues/2502
closed
[ "enhancement", "question", "module: reference scripts", "topic: object detection" ]
2020-07-22T13:38:19Z
2020-07-30T12:10:54Z
null
dmitrysarov
pytorch/pytorch
41,847
How to fix "Unknown IValue type for pickling: Device" in PyTorch 1.3?
## ❓ Questions and Help I got a model trained with PyTorch 1.4. If I script and save this model with PyTorch 1.4, it will save successfully, but I need to script and save this model with PyTorch 1.3. When I save model with 1.3, I got error message: ``` RuntimeError: Unknown IValue type for pickling: Device (pushIVal...
https://github.com/pytorch/pytorch/issues/41847
closed
[]
2020-07-22T10:48:50Z
2020-07-23T01:53:53Z
null
kaituoxu
huggingface/transformers
5,940
What is the difference between the function of add_tokens() and add_special_tokens() in tokenizer
# ❓ 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 the Hugging Face forum: https://discuss.huggingface.co/ . You can also try Stack Overflow (SO) where a wh...
https://github.com/huggingface/transformers/issues/5940
closed
[]
2020-07-21T15:29:14Z
2025-03-05T20:33:05Z
null
kugwzk
pytorch/vision
2,497
Grayscale image mask is transformed in a performance decreasing way with ToTensor()
## 🐛 Bug Preface: This is only in the context of my usage, where I use a custom dataset for semantic segmentation. My goal was to train different models on a semantic segmentation dataset and obviously I wanted to use the torchvision transforms. The dataset does not matter much, but the labels are interesting: The...
https://github.com/pytorch/vision/issues/2497
closed
[ "question", "module: transforms" ]
2020-07-21T12:07:06Z
2020-07-30T12:22:02Z
null
Areiser
pytorch/vision
2,486
Torchvision Object detection TPU Support
## ❓ Torchvision object detection models with TPU. My doubt lies somewhere between feature request and question. hence posting here. PyTorch supports TPU through torch_xla. It makes it possible to train models over TPU. I guess most torchvision classification models can be used with transfer learning/training ov...
https://github.com/pytorch/vision/issues/2486
open
[ "question", "topic: object detection", "new feature" ]
2020-07-17T18:47:07Z
2021-05-02T18:03:08Z
null
oke-aditya
pytorch/pytorch
41,592
Add SpectralOps CPU implementation for ARM/PowerPC processors (where MKL is not available)
## 🐛 Bug `fft: ATen not compiled with MKL support` RuntimeError thrown when trying to compute Spectrogram on Jetson Nano that uses ARM64 processor. ## To Reproduce Code sample: ``` import torchaudio waveform, sample_rate = torchaudio.load('test.wav') spectrogram = torchaudio.transforms.Spectrogram(sampl...
https://github.com/pytorch/pytorch/issues/41592
closed
[ "module: build", "triaged", "module: POWER", "module: arm", "module: fft", "function request" ]
2020-07-17T13:02:43Z
2021-06-30T23:29:36Z
null
arnasRad