pytorch
Here are 18,097 public repositories matching this topic...
-
Updated
Oct 6, 2021 - Python
-
Updated
Oct 1, 2021 - Jupyter Notebook
-
Updated
Sep 16, 2021 - Python
-
Updated
Oct 10, 2021 - Jupyter Notebook
-
Updated
Oct 12, 2021 - Python
Dear all,
I hope to find you well. The current codebase is totally closed and it is impossible to retrieve all the metrics computed. Allow all metrics to be returned inside dataset.evaluate
. For instance, currently, we cannot get the map
per class that is printed inside [eval_map
](https://github.com/open-mmlab/mmdetection/blob/414c62cb12d1b0ebf6151a697a32b84adc269ca4/mmdet/core/evaluati
-
Updated
Oct 12, 2021 - JavaScript
-
Updated
Sep 30, 2021 - Python
🐛 Bug
Tensorboard logging metrics from different GPUs when using DataParallel training.
To Reproduce
Use any arbitrary toy model with DP as an accelerator and in training_step(), include the below line of code:
self.log(mode + '_loss', sum(losses), on_epoch=False, on_step=True, prog_bar=True, logger=True, sync_dist=True)
In the trainer, specify tensorboard logger with
-
Updated
Oct 12, 2021 - Jupyter Notebook
-
Updated
Oct 10, 2021 - Python
Change tensor.data
to tensor.detach()
due to
pytorch/pytorch#6990 (comment)
tensor.detach()
is more robust than tensor.data
.
-
Updated
Oct 12, 2021 - Python
-
Updated
Oct 12, 2021 - C
-
Updated
Oct 8, 2021 - Python
-
Updated
May 2, 2021
-
Updated
Aug 30, 2021 - Jupyter Notebook
-
Updated
Oct 12, 2021 - Python
Bug Report
Is the issue related to model conversion?
If the ONNX checker reports issues with this model then this is most probably related to the converter used to convert the original framework model to ONNX. Please create this bug in the appropriate converter's GitHub repo (pytorch, tensorflow-onnx, sklearn-onnx, keras-onnx, onnxmltools) to get the best help.
Describe the bug
T
-
Updated
Oct 11, 2021 - Python
-
Updated
Oct 11, 2021 - Python
Is your feature request related to a problem? Please describe.
I typically used compressed datasets (e.g. gzipped) to save disk space. This works fine with AllenNLP during training because I can write my dataset reader to load the compressed data. However, the predict
command opens the file and reads lines for the Predictor
. This fails when it tries to load data from my compressed files.
Discussed in microsoft/nni#4070
Originally posted by ZhiyuanChen August 14, 2021
[2021-08-14 10:13:41] INFO (NNIDataStore) Datastore initialization done
[2021-08-14 10:13:41] INFO (RestServer) RestServer start
[2021-08-14 10:13:41] INFO (RestServer) RestServer base port is 8080
[2021-08-14 10:13:41] I
-
Updated
Oct 12, 2021 - Python
-
Updated
Oct 11, 2021 - Python
-
Updated
Jul 25, 2021 - Jupyter Notebook
-
Updated
Mar 14, 2021 - Jupyter Notebook
-
Updated
Oct 9, 2021 - Python
Improve this page
Add a description, image, and links to the pytorch topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pytorch topic, visit your repo's landing page and select "manage topics."
https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698
Assertions can't be relied upon for control flow because they can be disabled, as per the following: