代码拉取完成,页面将自动刷新
tools/eval.py
. You can also use tools/eval_multi_platform.py
to evalute the models on multiple GPU cards, which is also supported on Windows and CPU.Mixup
or Cutmix
is not used even if I have already add the data operation in the configuration file?Mixup
or Cutmix
, you also need to add use_mix: True
in the configuration file to make it work properly.output/ResNet50_vd/19
, with the filename output/ResNet50_vd/19/ppcls.pdparams
, then pretrained_model
in the configuration file needs to be output/ResNet50_vd/19/ppcls
.EfficientNet
series of models?Cubic
for EfficientNet
(interpolation is set as 2 in OpenCV), while other models are set as Bilinear
(interpolation is set as None in OpenCV). Therefore, you need to modify the interpolation explicitly in ResizeImage
. Specifically, the following configuration is a demo for EfficientNet.VALID:
batch_size: 16
num_workers: 4
file_list: "./dataset/ILSVRC2012/val_list.txt"
data_dir: "./dataset/ILSVRC2012/"
shuffle_seed: 0
transforms:
- DecodeImage:
to_rgb: True
to_np: False
channel_first: False
- ResizeImage:
resize_short: 256
interpolation: 2
- CropImage:
size: 224
- NormalizeImage:
scale: 1.0/255.0
mean: [0.485, 0.456, 0.406]
std: [0.229, 0.224, 0.225]
order: ''
- ToCHWImage:
TypeError: __init__() missing 1 required positional argument: 'sync_cycle'
.Visualdl
is only supported on python3 as now, whose version needs also be higher than 2.0
. If your visualdl version is lower than 2.0, you can also install visualdl 2.0 by pip3 install visualdl==2.0.0b8 -i https://mirror.baidu.com/pypi/simple
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。