26 lines
3.2 KiB
JSON
26 lines
3.2 KiB
JSON
[
|
|
{
|
|
"pwd": "/home/qcqcqc/workspace/execve_hook",
|
|
"cmd": "/home/qcqcqc/miniconda3/bin/python",
|
|
"args": [
|
|
"python",
|
|
"/home/qcqcqc/workspace/pytorch_tests/image_error.py"
|
|
],
|
|
"error": "Traceback (most recent call last):\n File \"/home/qcqcqc/workspace/pytorch_tests/image_error.py\", line 55, in <module>\n loss = criterion(outputs, labels)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1739, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1750, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/loss.py\", line 1295, in forward\n return F.cross_entropy(\n ^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/functional.py\", line 3494, in cross_entropy\n return torch._C._nn.cross_entropy_loss(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n IndexError: Target 15 is out of bounds.",
|
|
"env": {},
|
|
"productId": "",
|
|
"instanceId": ""
|
|
},
|
|
{
|
|
"pwd": "/home/qcqcqc/workspace/execve_hook",
|
|
"cmd": "/home/qcqcqc/miniconda3/bin/python",
|
|
"args": [
|
|
"python",
|
|
"/home/qcqcqc/workspace/pytorch_tests/rnn_error.py"
|
|
],
|
|
"error": "Traceback (most recent call last):\n File \"/home/qcqcqc/workspace/pytorch_tests/rnn_error.py\", line 40, in <module>\n loss = criterion(output, label.unsqueeze(0))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1739, in _wrapped_call_impl\n return self._call_impl(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/module.py\", line 1750, in _call_impl\n return forward_call(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/modules/loss.py\", line 1295, in forward\n return F.cross_entropy(\n ^^^^^^^^^^^^^^^^\n File \"/home/qcqcqc/miniconda3/lib/python3.12/site-packages/torch/nn/functional.py\", line 3494, in cross_entropy\n return torch._C._nn.cross_entropy_loss(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n ValueError: Expected input batch_size (2) to match target batch_size (1).",
|
|
"env": {},
|
|
"productId": "",
|
|
"instanceId": ""
|
|
}
|
|
] |