rshaojimmy / MultiModal-DeepFake

[TPAMI 2024 & CVPR 2023] PyTorch code for DGM4: Detecting and Grounding Multi-Modal Media Manipulation and beyond
Other
369 stars 28 forks source link

train.sh not running #25

Closed Ashwanth-R closed 8 months ago

Ashwanth-R commented 8 months ago

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'

I'm running this normal cpu I5 processor

songzhuoyuan commented 4 months ago

你好你是怎么处理这个问题的呢