Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
brjathu/HMR2.0
xnetba
/
HMR2.0
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
HMR2.0
/
vendor
/
detectron2
/
tests
/
config
/
dir1
/
load_rel.py
xnetba
Duplicate from brjathu/HMR2.0
a24002c
about 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
142 Bytes
# test that load_rel can work
from
detectron2.config
import
LazyConfig
x = LazyConfig.load_rel(
"dir1_a.py"
,
"dir1a_dict"
)
assert
x[
"a"
] ==
1