已经安装了paddlepaddle gpu 1.7,但是设置use gpu=true,任然报错没怎么解决
Created by: wuxiaolianggit
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script 2020-09-24 07:11:20,842-INFO: {'Optimizer': {'beta2': 0.999, 'base_lr': 0.0001, 'beta1': 0.9, 'function': 'ppocr.optimizer,AdamDecay'}, 'TrainReader': {'reader_function': 'ppocr.data.rec.dataset_traversal,SimpleReader', 'num_workers': 8, 'img_set_dir': '/home/PaddleOCR/train_data/ic15_data', 'label_file_path': '/home/PaddleOCR/train_data/ic15_data/rec_gt_train.txt'}, 'Head': {'hidden_dims': 512, 'num_encoder_TUs': 2, 'function': 'ppocr.modeling.heads.rec_srn_all_head,SRNPredict', 'encoder_type': 'rnn', 'num_decoder_TUs': 4, 'SeqRNN': {'hidden_size': 256}}, 'TestReader': {'reader_function': 'ppocr.data.rec.dataset_traversal,SimpleReader'}, 'EvalReader': {'reader_function': 'ppocr.data.rec.dataset_traversal,SimpleReader', 'img_set_dir': '/home/PaddleOCR/train_data/ic15_data', 'label_file_path': '/home/PaddleOCR/train_data/ic15_data/rec_gt_test.txt'}, 'Architecture': {'function': 'ppocr.modeling.architectures.rec_model,RecModel'}, 'Loss': {'function': 'ppocr.modeling.losses.rec_srn_loss,SRNLoss'}, 'Global': {'num_heads': 8, 'epoch_num': 72, 'save_model_dir': 'output/rec_pvam_withrotate', 'character_dict_path': './ppocr/utils/keys.txt', 'log_smooth_window': 20, 'image_shape': [1, 64, 256], 'infer_img': None, 'character_type': 'ch', 'max_average_window': 15625, 'average_window': 0.15, 'print_batch_step': 10, 'min_average_window': 10000, 'pretrain_weights': None, 'debug': False, 'test_batch_size_per_card': 1, 'train_batch_size_per_card': 64, 'checkpoints': None, 'save_epoch_step': 1, 'max_text_length': 25, 'reader_yml': './configs/rec/rec_icdar15_reader.yml', 'algorithm': 'SRN', 'loss_type': 'srn', 'eval_batch_step': 8000, 'use_gpu': True, 'save_inference_dir': None}, 'Backbone': {'layers': 50, 'function': 'ppocr.modeling.backbones.rec_resnet_fpn,ResNet'}} 2020-09-24 07:11:20,842-ERROR: Config use_gpu cannot be set as true while you are using paddlepaddle cpu version ! Please try: 1. Install paddlepaddle-gpu to run model on GPU 2. Set use_gpu as false in config file to run model on CPU @ZeyuChen