Open dummyindex opened 1 year ago
Can confirm.
My guess it's a missing __init__.py
in mmaction/models/localizers/drn
.
I had the same problem as you, did you solve it please?
.\Anaconda3\envs\mmact2\lib\site-packages\mmaction2-1.2.0-py3.8.egg\mmaction\models\localizers\ I found no drn file in this directory, it should need to be added, did you find this file please?
Somehow, this directory: https://github.com/open-mmlab/mmaction2/tree/4d6c93474730cad2f25e51109adcf96824efc7a3/mmaction/models/localizers/drn did not end up in the pypi package: https://pypi.org/project/mmaction2/1.2.0/
You can fix this temporarily by copying the dir into your installed mmaction2 package (......./site-packages/mmaction/models/localizers/
)
Any fix for this issue?
I fixed it manually by copying drn folder to AppData\Local\Programs\Python\Python39\Lib\site-packages\mmaction\models\localizers
It also occurs when installing from source ... For now only copying the files into the environment solves it.
Why is there no update ?
Somehow, this directory:不知何故,这个目录: https://github.com/open-mmlab/mmaction2/tree/4d6c93474730cad2f25e51109adcf96824efc7a3/mmaction/models/localizers/drn did not end up in the pypi package:没有在pypi包中结束: https://pypi.org/project/mmaction2/1.2.0/不知何故,这个目录:https://github.com/open-mmlab/mmaction2/tree/4d6c93474730cad2f25e51109adcf96824efc7a3/mmaction/models/localizers/drn 没有在pypi软件包中结束:https://pypi.org/project/mmaction2/1.2.0/![](chrome-extension://dppcnmibpgmagiigcnfdjpnghplibbna/images/translator.png)
You can fix this temporarily by copying the dir into your installed mmaction2 package (
......./site-packages/mmaction/models/localizers/
您可以通过将目录复制到已安装的mmaction 2软件包(......./site-packages/mmaction/models/localizers/
)来临时修复此问题)
有用感谢
Hi I got past this by installing from source. Pip version had this error, but installing local editable version worked for me.
我在 site. package ....路径中 把有关drn的引入包 及后面注释了。
Add it to init
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
Fresh Anaconda output of
pip freeze | grep mm
(filtered other packages with mm substringDescribe the bug
An import failure bug. DRN is missing.
Reproduces the problem - code sample
installed on 10/18/2023 via
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
A temporary solution: comment out the DRN part if DRN is not required :).