how to run the train.sh when using VScode it shows no command found but if i run in gitbash it shows
$ sh train.sh
Traceback (most recent call last):
File "train.py", line 18, in v$ sh train.sh
Traceback (most recent call last):
File "train.py", line 18, in
import torch.nn as nn
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn__init.py", line 1, in
from .modules import * # noqa: F403
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\modules\init__.py", line 1, in
from .module import Module
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\modules\module.py", line 7, in
from ..parameter import Parameter
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\parameter.py", line 2, in
from torch._C import _disabled_torch_function_impl
ModuleNotFoundError: No module named 'torch._C'
how to run the train.sh when using VScode it shows no command found but if i run in gitbash it shows $ sh train.sh Traceback (most recent call last): File "train.py", line 18, inv$ sh train.sh
Traceback (most recent call last):
File "train.py", line 18, in
import torch.nn as nn
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn__init.py", line 1, in
from .modules import * # noqa: F403
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\modules\ init__.py", line 1, in
from .module import Module
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\modules\module.py", line 7, in
from ..parameter import Parameter
File "C:\Users\athen\anaconda3\envs\DGM4\lib\site-packages\torch\nn\parameter.py", line 2, in
from torch._C import _disabled_torch_function_impl
ModuleNotFoundError: No module named 'torch._C'
I'm running this normal cpu I5 processor