pytorch
Here are 17,839 public repositories matching this topic...
-
Updated
Sep 25, 2021 - Python
-
Updated
Sep 20, 2021 - Jupyter Notebook
-
Updated
Sep 16, 2021 - Python
-
Updated
Sep 25, 2021 - Jupyter Notebook
-
Updated
Sep 27, 2021 - Python
I'm training various model heads (HTC, cascade mask-rcnn, etc.) with the CBNetV2 backbone (implementation here) on a custom coco-format dataset with only bboxes. I'm using the following training and testing pipelines:
albu_train_transforms = [
dict(
type='ShiftScaleRotate',
shift_limit=0.0625,
scale_limit=0.0,
-
Updated
Sep 27, 2021 - JavaScript
-
Updated
Sep 20, 2021 - Python
🐛 Bug
Context
I noticed in the unit test case test_dataloaders_reset_and_attach
in test_dataloaders.py
that trainer.fit()
was called twice with different train_dataloaders. ([code pointer](https://github.com/PyTorchLightning/pytorch-lightning/blob/5a846d48ceb5412636bafc3037d04bc2f1bcc0e6/tests/trainer/test_datalo
-
Updated
Sep 10, 2021 - Jupyter Notebook
-
Updated
Sep 27, 2021 - Python
Change tensor.data
to tensor.detach()
due to
pytorch/pytorch#6990 (comment)
tensor.detach()
is more robust than tensor.data
.
-
Updated
Sep 26, 2021 - Python
-
Updated
Sep 27, 2021 - C
-
Updated
Sep 26, 2021 - Python
-
Updated
May 2, 2021
-
Updated
Aug 30, 2021 - Jupyter Notebook
-
Updated
Sep 27, 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
Sep 25, 2021 - Python
-
Updated
Sep 23, 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
Sep 26, 2021 - Python
-
Updated
Sep 27, 2021 - Python
-
Updated
Jul 25, 2021 - Jupyter Notebook
-
Updated
Mar 14, 2021 - Jupyter Notebook
-
Updated
Sep 20, 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: