Comments (5)
Hi @mbk2103 ,
Thanks for your attention on our work.
Can you give more details about your dataset? Image dataset (MS COCO) or video dataset(YTVIS,OVIS)?
from ctvis.
Thanks for your response.
Yes, my dataset is in the YTVIS format. It includes 132 frames in the training files, 29 frames in the validation files, and 28 frames in the test files. I have organized it according to the VITA data preparation format. Would you like me to explain the steps I followed to do this?
from ctvis.
Hi @mbk2103 ,
Thank you for the details you provided. May I ask how many categories are in your dataset?
I showed how to define YTVIS19, you can also easily imitate for a custom dataset. There are several steps you need to do:
- You should define the categories in your dataset. Please refer to THIS and THIS.
- Define the path to your image file and annotation file. Please refer to THIS.
- Define and invoke the registry function. Please refer to THIS and THIS.
from ctvis.
Hi @KainingYing,
Thank you for your fast response.
I encountered an error when working with my custom dataset, which has only one class. The error is occurring at this line, and I haven't changed any variable names.
In the file "CTVIS/ctvis/data/pseudo_video/rotate_coco_video_dataset_mapper.py," the error message is as follows:
CTVIS/ctvis/data/pseudo_video/rotate_coco_video_dataset_mapper.py", line 285, in init
] = self.tgt_metadata.thing_dataset_id_to_contiguous_id[v]
KeyError: 21
Can you please help me understand why this error is occurring and how to resolve it?
from ctvis.
Hi @mbk2103 ,
Maybe you should modify the config file you run.
Specifically, you should overwrite the DATASETS.TRAIN
, DATASETS.TEST
, DATASETS.DATASET_RATIO
and MODEL.NUM_CLASSES
.
In the file "CTVIS/ctvis/data/pseudo_video/rotate_coco_video_dataset_mapper.py," the error message is as follows:
CTVIS/ctvis/data/pseudo_video/rotate_coco_video_dataset_mapper.py", line 285, in init
] = self.tgt_metadata.thing_dataset_id_to_contiguous_id[v]
KeyError: 21
The error you mentioned above is caused by the error you implemented COCO joint training, I recommend you use Video training by setting DATASETS.TRAIN
as your custom dataset only.
BTW, considering your dataset is small, overfitting can happen easily, so I strongly recommend using our provided pre-trained models for fine-tuning.
from ctvis.
Related Issues (20)
- [Demo] Dance video.
- A bug in your code HOT 1
- Some code issues HOT 5
- Sharing the split for partial training examples HOT 1
- IDOL experiments HOT 2
- about contrastive learning on VPS HOT 1
- [Inference Reproduce] The influence of GPU and Pytorch
- how to export in onnx format HOT 1
- request model weight for all benchmarks HOT 1
- how to do online segmentation by using a webcam? HOT 1
- inconsistent contrastive training scheme with paper HOT 2
- visualization of the results
- Real-Time Inference for CTVIS - Performance and Implementation Inquiry
- Adding new backbone
- Trying to test a model trained with 8 GPUs on a single GPU HOT 1
- An question on memory bank update with noise HOT 1
- Undefined symbol ImportError
- checkpoint incompatible shapes
- Some problems in browse_datasets and training
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 ctvis.