Comments (2)
I am also having trouble with the installation. The instructions don't appear to be up to date with the repository contents.
However, your statement
Despite the fact that I cloned the detectoron2 repository
Merely cloning the repository would not be enough.
See: https://github.com/JialianW/GRiT/blob/master/docs/INSTALL.md#installation-example
You clone, navigate to repo directory, then run pip install -e .
However, when I tried that there are issues with compiling binaries using ninja.
I was able to install detectron using prebuilt here: https://github.com/facebookresearch/detectron2/blob/main/INSTALL.md
However, now I am trying to see how to install centernet
A copy of CenterNet2 seems to exist in this repository here however, it's INSTALL instructions mention detectron2 again, and it includes a yet another copy of detectron2 making it seem like the need to clone dectron2 is old instruction
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/vscode/miniconda3/envs/grit/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1666, in _run_ninja_build
subprocess.run(
File "/home/vscode/miniconda3/envs/grit/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
...
RuntimeError: Error compiling objects for extension
Build tool versions
cmake version 3.16.3
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
ninja 1.11.1.git.kitware.jobserver-1
Maybe there are prebuilts for centernet
from grit.
I wanted to add some more information.
I think the instructions below are out of date
git clone https://github.com/facebookresearch/detectron2.git
cd detectron2
git checkout cc87e7ec
pip install -e .
The GRiT repo now directly includes a copy of detectron2 with centernet project copied
I think the updated instructions would be something like:
Clone Repo
git clone https://github.com/JialianW/GRiT.git
cd GRiT
pip install -r requirements.txt
Install included version of detectron
cd third_party/CenterNet2
pip install -e .
cd ../..
Also, I previously mistakenly though centernet
was its own package; however, center module is explicitly added to the path here:
Lines 13 to 14 in 39b33db
So after installing the copy of detectron within CenterNet2 it should work
Hope this helps
from grit.
Related Issues (19)
- Bug of corner case of proposals HOT 24
- Question about training on custom data HOT 1
- Can you provide the performance based on the GT boxes? HOT 3
- KeyError: 'object_description'
- Support for Batch-Inference HOT 1
- Generate Caption on my own boxes HOT 1
- Installation instructions seem out of date HOT 1
- eval code HOT 1
- Output the result in the format of text
- third_party project gitmodules HOT 1
- CUDA out of memory HOT 1
- Questions about multi-node deepspeed launcher HOT 1
- Batch size Configuration HOT 1
- Question about the training time HOT 4
- Dense Captioning Evaluation on VG Dataset HOT 10
- Poor result in Densecap Evaluation HOT 6
- Willing to share the original annotations of Visual Genome dataset ? HOT 2
- Larger ViT backbone for dense captioning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grit.