zzzxxxttt / simple_detectron2_efficientdet Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of EfficientDet based on Detectron2 framework
A simple implementation of EfficientDet based on Detectron2 framework
Hi,
I got this following error when I run the code:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/root/jwei/detectron2/detectron2/engine/launch.py", line 94, in _distributed_worker
main_func(*args)
File "/root/jwei/detectron2/projects/Onlyou/train_net.py", line 94, in main
trainer = Trainer(cfg)
File "/root/jwei/detectron2/detectron2/engine/defaults.py", line 282, in init
model = self.build_model(cfg)
File "/root/jwei/detectron2/detectron2/engine/defaults.py", line 440, in build_model
model = build_model(cfg)
File "/root/jwei/detectron2/detectron2/modeling/meta_arch/build.py", line 21, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/root/jwei/detectron2/projects/Onlyou/model/efficientnet/retinanet.py", line 27, in init
self.device = torch.device(cfg.MODEL.DEVICE)
File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 638, in setattr
object.setattr(self, name, value)
AttributeError: can't set attribute
Could you pls give me advice ? thanks
How do I change number of classes here? And say, I have 17 classes, what should be the number?
@zzzxxxttt
how to predict a single image
Hello,
Could I ask you the FPS you obtain with detectron_efficientNet on COCO dataset?
How I can set the backbone EfficientNet b1,...,b3
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.