Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] RealBasic got killed when loading model #2107

Open
3 tasks done
IceWind233 opened this issue Dec 27, 2023 · 0 comments
Open
3 tasks done

[Bug] RealBasic got killed when loading model #2107

IceWind233 opened this issue Dec 27, 2023 · 0 comments
Assignees
Labels
kind/bug something isn't working

Comments

@IceWind233
Copy link

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmagic

Environment

absl-py                 2.0.0
addict                  2.4.0
aliyun-python-sdk-core  2.14.0
aliyun-python-sdk-kms   2.16.2
av                      11.0.0
Brotli                  1.0.9
cachetools              5.3.2
certifi                 2023.11.17
cffi                    1.16.0
charset-normalizer      2.0.4
click                   8.1.7
colorama                0.4.6
contourpy               1.2.0
crcmod                  1.7
cryptography            41.0.7
cycler                  0.12.1
facexlib                0.3.0
filelock                3.13.1
filterpy                1.4.5
fonttools               4.47.0
fsspec                  2023.12.2
gmpy2                   2.1.2
google-auth             2.25.2
google-auth-oauthlib    1.2.0
grpcio                  1.60.0
idna                    3.4
importlib-metadata      7.0.1
Jinja2                  3.1.2
jmespath                0.10.0
kiwisolver              1.4.5
llvmlite                0.41.1
lmdb                    1.4.1
Markdown                3.4.1
markdown-it-py          2.2.0
MarkupSafe              2.1.1
matplotlib              3.8.2
mdurl                   0.1.0
mmcv                    1.7.0
mmcv-full               1.7.0      # build from source
mmedit                  0.16.1
model-index             0.1.11
mpmath                  1.3.0
networkx                3.1
ninja                   1.11.1.1
numba                   0.58.1
numpy                   1.22.3
oauthlib                3.2.2
opencv-python           4.8.1.78
opendatalab             0.0.10
openmim                 0.3.9
openxlab                0.0.32
ordered-set             4.1.0
oss2                    2.17.0
packaging               23.2
Pillow                  10.0.1
pip                     23.3.1
platformdirs            4.1.0
protobuf                4.23.4
psutil                  5.9.7
pyasn1                  0.5.1
pyasn1-modules          0.3.0
pycparser               2.21
pycryptodome            3.19.0
Pygments                2.15.1
pyOpenSSL               23.2.0
pyparsing               3.1.1
PySocks                 1.7.1
python-dateutil         2.8.2
PyYAML                  6.0.1
requests                2.28.2
requests-oauthlib       1.3.1
rich                    13.4.2
rsa                     4.9
scipy                   1.11.4
setuptools              60.2.0
six                     1.16.0
sympy                   1.12
tabulate                0.9.0
tensorboard             2.15.1
tensorboard-data-server 0.7.2
termcolor               2.4.0
tomli                   2.0.1
torch                   2.1.2
torchaudio              2.1.2
torchvision             0.16.2
tqdm                    4.65.2
triton                  2.1.0
typing_extensions       4.7.1
urllib3                 1.26.18
Werkzeug                3.0.1
wheel                   0.41.2
yapf                    0.40.2
zipp                    3.17.0

cuda version is 12.3. RTX 4070Ti which has 12g mem. RAM is 126g

Reproduces the problem - code sample

No change on python.

Reproduces the problem - command or script

i just run inferece like this then i encounted the problem

 python inference_realbasicvsr.py configs/realbasicvsr_x4.py ./RealBasicVSR_x4.pth ./demo.mp4 results/demo.mp4 --fps=30 --max_seq_len=2

Reproduces the problem - error message

mmcv_1.7.0/mmcv/mmcv/__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
  warnings.warn(
2023-12-27 07:09:12,028 - mmedit - INFO - load checkpoint from torchvision path: torchvision://vgg19
load checkpoint from local path: ./RealBasicVSR_x4.pth
Killed

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants