Comments (5)
I tried, but reported an error
from sam-hq.
hi, you can modify the nproc_per_node number from 8 to 1 here
from sam-hq.
This looks like a torch version problem. Different versions have different definitions between local_rank
and local-rank
. You could try one of these methods.
- Use a lower version of PyTorch
- Use
torchrun
to replacepython -m torch.distributed.launch
from sam-hq.
This is my version of PyTorch, pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.7. But it still gives an error
Is it because of Windows? Have you ever trained on Windows?
from sam-hq.
I fixed this issue by finding the correct compatible version of pytorch, found the CUDA version using nvcc --version and found the compatible version of PyTorch https://pytorch.org/get-started/previous-versions/
from sam-hq.
Related Issues (20)
- When i tried to train the mode. There is a bug HOT 5
- Grounded HQ-SAM HOT 1
- Has anyone attempted to deploy SAM-Hq on CVAT (following the deployment of SAM)
- when i run train.py with one gpu and dataset that sam_hq used, the process stopped and didn't move HOT 5
- Tuning Segment for clothing
- some questions about training SAM_HQ HOT 2
- Question: Is it SAM-HQ model applicable for predicting segmentation mask for the input images without boxes, point or label? HOT 2
- The val_iou and val_boundary_iou is very low
- Inconsistent with the iou of the paper
- How to export a fully segmented model onnx
- ImportError: cannot import name 'FrozenBatchNorm2d' from 'torchvision.ops' HOT 2
- How to output the visulization of segmentation and object detection when test on seginw?
- The label problem
- when use GroundingDINO as the detector HOT 3
- how to use multiple gpu?
- Questions about training class information.
- Text Prompt HOT 1
- May i ask if there is a way to use dcm image to train the model? If its available, what should i do. HOT 2
- the code of Light HQ-SAM vs MobileSAM on COCO using the FocalNet-DINO
- I want to ask if there is a way that i give the tif image and bbox label as my dataset 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 sam-hq.