Comments (5)
I don't have a Mac device and cannot test it but I suppose you can replace all the .cuda()
and cuda.amp
calls with mps equivalent.
from tracking-anything-with-deva.
If you don't have a Mac that is a good reason 👍 .
I tried replacing the cuda specific things, also there are some datatypes that aren't supported on mps like int64... and some functions that fallback to cpu. I got as far as it running but with an error from MPSGraphUtilities.mm scrolling by. After 10 minutes, the progress bar showed 2 images had been completed, then it quit with an error, and no output images. It looks like it is using up more than the 64GB of unified memory, I'm not sure I can fix it further without understanding each part that's being used.
from tracking-anything-with-deva.
If you try the example video, i.e.,
python demo/demo_with_text.py --chunk_size 4 \
--img_path ./example/vipseg/images/12_1mWNahzcsAc \
--amp --temporal_setting semionline \
--size 480 \
--output ./example/output --prompt person.hat.horse
, it is quite unlikely that it uses more than a few GB of memory.
If it processed two frames without any output images, it sounds like the error occurred during consensus. You can test using the online mode (consensus disabled).
from tracking-anything-with-deva.
I was running the other one - demo_automatic.py
The demo_with_text has a different error from GroundingDINO, I'll have a look into that tomorrow.
from tracking-anything-with-deva.
Ref: hkchengrex/Cutie#14
from tracking-anything-with-deva.
Related Issues (20)
- Missing frames HOT 2
- how can I enable cpu to run the demo_gradio.py HOT 5
- Insufficient GPU memory HOT 2
- installing on WSL2 HOT 2
- ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 1293) of binary HOT 4
- Some confusion about Table S1 HOT 2
- cannot read the pth file? HOT 1
- Problem installing Grounded-Segment-Anything with Cuda 12.2 HOT 2
- Video does not have browser-compatible container or codec. Converting to mp4? HOT 2
- How to train my own dataset? HOT 1
- Using Postive and negative points for each object as prompts HOT 1
- box not right in multi-person scenes HOT 1
- What is the minimum amount of video memory required for a graphics card? HOT 1
- VRAM needed HOT 3
- Extract the ROI of the masked regions HOT 3
- NameError: name '_C' is not defined HOT 1
- How to reproduce VIP-Seg results HOT 1
- fine-tune static image for medical domain HOT 3
- uvos 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 tracking-anything-with-deva.