Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICV-mmengine_basecode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schiffel
ICV-mmengine_basecode
Commits
c451e719
Unverified
Commit
c451e719
authored
2 years ago
by
Zaida Zhou
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add storage backends in init file (#325)
parent
7154df26
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mmengine/fileio/__init__.py
+7
-4
7 additions, 4 deletions
mmengine/fileio/__init__.py
with
7 additions
and
4 deletions
mmengine/fileio/__init__.py
+
7
−
4
View file @
c451e719
# Copyright (c) OpenMMLab. All rights reserved.
from
.file_client
import
BaseStorageBackend
,
FileClient
from
.file_client
import
(
BaseStorageBackend
,
FileClient
,
HardDiskBackend
,
HTTPBackend
,
LmdbBackend
,
MemcachedBackend
,
PetrelBackend
)
from
.handlers
import
BaseFileHandler
,
JsonHandler
,
PickleHandler
,
YamlHandler
from
.io
import
dump
,
load
,
register_handler
from
.parse
import
dict_from_file
,
list_from_file
__all__
=
[
'
BaseStorageBackend
'
,
'
FileClient
'
,
'
load
'
,
'
dump
'
,
'
register_handler
'
,
'
BaseFileHandler
'
,
'
JsonHandler
'
,
'
PickleHandler
'
,
'
YamlHandler
'
,
'
list_from_file
'
,
'
dict_from_file
'
'
BaseStorageBackend
'
,
'
FileClient
'
,
'
PetrelBackend
'
,
'
MemcachedBackend
'
,
'
LmdbBackend
'
,
'
HardDiskBackend
'
,
'
HTTPBackend
'
,
'
load
'
,
'
dump
'
,
'
register_handler
'
,
'
BaseFileHandler
'
,
'
JsonHandler
'
,
'
PickleHandler
'
,
'
YamlHandler
'
,
'
list_from_file
'
,
'
dict_from_file
'
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment