Is detectron2 not maintained anymore?
i tried to install detectron2 on a windows machine and it is not supportedFacebook research say so in the install instructions:detectron2991×558 25.3 KBbut when i saw that their Circle-Ci job didn’t successfully built for a year i decided to search for a solution elsewherehttps://app.circleci.com/pipelines/github/facebookresearch/detectron2am i correct ?
2024-10-09T06:01:08Z
I see that github’s 5 month old automated test shows a failure…But there are also reports that it worked, so I don’t know which is true.https://detectron2.readthedocs.io/en/latest/tutorials/install.htmlgithub.comGitHub - facebookresearch/detectron2: Detectron2 is a platform for object detection,...Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
2024-10-09T11:08:15Z
not 5 month, the last successful job was over a year ago (windows and linux),Untitled21000×795 70.8 KBi tried so many options to launch a docker that builds from source using ubuntu:24.10, CUDA 12.4, torch 2.4.1, python 3.12.4, and when that didn’t work i started lowering more and more the versions, the only (partial) success i got was with the original Dockerfile from the git (ubuntu18.04, CUDA 11.1, torch 1.10,  python 3.7) - it is very old and not updatedm and even then 40% of the unittest failswhere did you see reports of success ? can you share ? maybe someone had better luck
2024-10-09T11:15:43Z
where did you see reports of success ? can you share ? maybe someone had better luckSince the page is in Japanese, I used a Google Translate link.QiitaDetectron2のチュートリアルを解説してみた - QiitaDetectron2とは？Detectron2はFacebook AI Researchの次世代ライブラリで、最先端の検出とセグメンテーションアルゴリズムを提供しています．コンピュータビジョンのた…
2024-10-09T12:22:44Z
thanks for the share, but they install detectron from git (meaning they are using the old versions), also they don’t state what CUDA, python, torch or Linux version are they using(since Ubuntu 24.04 you cannot install pip packages globally and i think detectron needs the torch to be installed globally and not in a venv, so a workaround should be in place until Facebook will update their code and build)so this is also not an updated versions install,i haven’t given up yet, i still have some ideas and trying them out, but i haven’t seen anyone share a successful install in the last year with newer versions, its such a shame since it looks like a promising and advanced package,
2024-10-09T13:29:19Z
Okay. That was an example of installing an older version…There don’t seem to be a lot of resources related to HF, but there are a few people who seem to know a lot about it. Maybe you could send them a mentions from here and ask them. (@+username)huggingface.coModels - Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.huggingface.coAlexShmak/Detectron2_DocLayNet · Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.huggingface.codbmdz/detectron2-v2-model · Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2024-10-09T19:32:42Z
thanks for the advice, after allot of trial and error i finally got it to working with the newest compatible versions i could:Docker base image: pytorch:2.4.1-cuda12.4-cudnn9-develUbuntu 22.04.4 LTSPython 3.11.9Cuda 12.4 (compiler.34097967_0)Cuda compilation tools 12.4, V12.4.131PyTorch 2.4.1+cu124Detectron2 (Latest Git main commit)i shared the Dockerfile and Commands here:PastebinDetectron2 Dockerfile cuda124 - Pastebin.comPastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
2024-10-09T22:17:07Z
Good.Still, the fact that it works without modification, even in a limited operating environment, means that the github dependency settings and manual are somehow incomplete.Maybe the branch is broken if CUDA is missing or old?Anyway, I’m glad it works.
2024-10-10T10:18:05Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.