callsys / dynrefer Goto Github PK
View Code? Open in Web Editor NEWDynRefer: Delving into Region-level Multi-modality Tasks via Dynamic Resolution
License: Apache License 2.0
DynRefer: Delving into Region-level Multi-modality Tasks via Dynamic Resolution
License: Apache License 2.0
python demo/dynrefer_inference.py
DynRefer/dynrefer/common/evaluation/eval_densecap.py", line 9, in
from .meteor.meteor import Meteor
ModuleNotFoundError: No module named 'dynrefer.common.evaluation.meteor'
非常有意思的工作!!请问什么时候可以公布demo代码,可以支持在个人数据上进行尝试吗,感谢。
dynrefer_inference.py
model = task.build_model(cfg)
tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.
cuda 12.1
Can it be reduced to version 11.7?
您好,我使用coco进行eval,显示缺少标题中的json文件,请问这个文件中存的是img名称以及对应的box坐标吗?
请问demo代码多久发布呀?
开始时:
(dynrefer) C:\Users\Administrator>pip install DCNv4==1.0.0.post2
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting DCNv4==1.0.0.post2
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f7/3c/7f7386b4ada92f35100242cb633cccaaa324579bfa7cd2518870a303774e/DCNv4-1.0.0.post2.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: DCNv4
Building wheel for DCNv4 (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-38
creating build\lib.win-amd64-cpython-38\DCNv4
copying DCNv4_init_.py -> build\lib.win-amd64-cpython-38\DCNv4
creating build\lib.win-amd64-cpython-38\DCNv4\functions
copying DCNv4/functions\dcnv4_func.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions\flash_deform_attn_func.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions\table.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions_init_.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
creating build\lib.win-amd64-cpython-38\DCNv4\modules
copying DCNv4/modules\dcnv4.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
copying DCNv4/modules\flash_deform_attn.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
copying DCNv4/modules_init_.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
running build_ext
D:\Anaconda3\envs\dynrefer\lib\site-packages\torch\utils\cpp_extension.py:381: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'DCNv4.ext' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for DCNv4
Running setup.py clean for DCNv4
Failed to build DCNv4
ERROR: Could not build wheels for DCNv4, which is required to install pyproject.toml-based projects
后面又变成:
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/dcnv4/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/dcnv4/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))) - skipping
ERROR: Could not find a version that satisfies the requirement DCNv4==1.0.0.post2 (from versions: none)
ERROR: No matching distribution found for DCNv4==1.0.0.post2
一点头绪都没,求大神指点
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.