Comments (6)
Thanks for your reply!
# 2022.04.30: Remove evaluation
logger.info('**********************Start evaluation %s/%s(%s)**********************' %
(cfg.EXP_GROUP_PATH, cfg.TAG, args.extra_tag))
test_set, test_loader, sampler = build_dataloader(
dataset_cfg=cfg.DATA_CONFIG,
class_names=cfg.CLASS_NAMES,
batch_size=args.batch_size,
dist=dist_train,
workers=args.workers,
logger=logger,
training=False
)
print("len(test_loader) = ",len(test_loader))
eval_output_dir = output_dir / 'eval' / 'eval_with_train'
eval_output_dir.mkdir(parents=True, exist_ok=True)
args.start_epoch = max(args.epochs - args.num_epochs_to_eval, 0) # Only evaluate the last args.num_epochs_to_eval epochs
repeat_eval_ckpt(
model.module if dist_train else model,
test_loader, args, eval_output_dir, logger, ckpt_dir,
dist_test=dist_train
)
logger.info('**********************End evaluation %s/%s(%s)**********************' %
(cfg.EXP_GROUP_PATH, cfg.TAG, args.extra_tag))
I tried to unravel the comments in this code but it looks like doesn't work.I find that this build_dataloader() cannot load val data.
test_set, test_loader, sampler = build_dataloader(
dataset_cfg=cfg.DATA_CONFIG,
class_names=cfg.CLASS_NAMES,
batch_size=args.batch_size,
dist=dist_train,
workers=args.workers,
logger=logger,
training=False
)
Why it works in train dataset but test dataset? And I would like to know if it is complex to add evaluatation based on your code.
from crlfnet.
Message that will be displayed on users first issue
from crlfnet.
Yes, we didn't produce the validation datasets nor the evaluation script. You could refer to the pcdet/tools/pred.py
for how to get customed predictions and other evaluation scripts in pcdet for the evaluation metrics caculation.
from crlfnet.
BTW, we use our customed evaluation tools in here , however, not recommended for you, you'd better refer to official evaluation tools in KITTI, Waymo, etc.
from crlfnet.
What does I find that this build_dataloader() cannot load val data.
mean?
Our code is mainly based on OpenPCDet, add evaluation is not difficult, you could just regard our code same as the OpenPCDet and add it. Two steps suggested: get the predictions from model (refer to pred.py
, different from OpenPCDet), and evaluate them (same as the OpenPCDet but need to fit your customed dataset also.
from crlfnet.
I'm sorry i made a little mistake about "cannot load val data" and now I have solved it.
I read part of Openpcdet code about eval carefully. Thanks for your suggestions and I got it.
from crlfnet.
Related Issues (8)
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 crlfnet.