1、从kaggle 下载数据,
如上图所示 covid文件夹下是covid19感染者肺部x-ray图片,图片像素256*256。normal是正常人肺部x-ray图片,图片像素1024*1024。pneumonia是其他类型肺炎肺部x-ray图片,图片像素1024*1024。
2、训练类
/*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the s