Comments (3)
@RohithkumarRavi could you specify what you mean by size.
from cvat.
from cvat.
May be helpful:
python manage.py shell
import os
import zipfile
import json
from io import StringIO
from cvat.apps.engine.models import Task
def get_size(start_path = '.'):
total_size = 0
for dirpath, dirnames, filenames in os.walk(start_path):
for f in filenames:
fp = os.path.join(dirpath, f)
# skip if it is symbolic link
if not os.path.islink(fp):
total_size += os.path.getsize(fp)
return total_size
def collect_statistics():
statistics = {id: {
'data_id': data_id,
'data_size_bytes': get_size(f'data/data/{data_id}'),
'organization_id': organization_id,
'owner_id': owner_id,
'created_date': created_date.strftime('%d/%m/%y %H:%M'),
'updated_date': updated_date.strftime('%d/%m/%y %H:%M'),
} for id, data_id, organization_id, owner_id, created_date, updated_date in Task.objects.values_list('id', 'data_id', 'organization_id', 'owner_id', 'created_date', 'updated_date')}
return statistics
statistics = collect_statistics()
from cvat.
Related Issues (20)
- Quality: in the review mode, conflicts appear in incorrect positions
- Apply morphological operations to masks HOT 1
- I subscribed to solo on cvat.ai, but is it impossible to link with self-hosted? HOT 2
- Cannot access to CVAT in Local Lan Machine HOT 4
- unable to setup development environment. Could not read source map HOT 8
- Display better error messages HOT 2
- Redundant jobs created in task when segment_size is explicitly set
- "Back to tasks"/"Back to project" should be a link HOT 2
- Downloading Annotations in name of the task order HOT 10
- It can not be processed. You can upload one or more videos HOT 3
- Running CVAT on a specified url path HOT 1
- Invite-only users? HOT 1
- Tasks created from backup have visual artifacts HOT 3
- CVAT serverless 3D point cloud automatic annotation algorithm HOT 1
- CVAT serverless function enhancement 2D lane line detection automatic labeling
- Improve automatic detection by sending extra data (a region of interest)
- Where is the attempted backup HOT 5
- Problems sorting images in job HOT 1
- Using the Helm deployment CVAT unable to login 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 cvat.