发布时间:2021-05-05 17:27:05
from pycocotools.coco import COCOimport numpy as npimport skimage.io as ioimport matplotlib.pyplot as pltimport osfrom PIL import Imagefrom PIL import ImageDrawimport csvimport shutildef create_coco_maps(ann_handle): coco_name_maps = {.........【阅读全文】
发布时间:2021-04-30 16:28:27
import arrayimport numbersimport functoolsimport operatorimport mathimport itertoolsimport reprlibclass VectorN(): typeCode = 'd' attrStr = "xyzt" def __init__(self, iterable): &nb.........【阅读全文】
发布时间:2021-04-29 16:57:33
# -*- coding:utf-8 -*-from flask import Flask, render_template, render_template_string, requestimport taxfrom jinja2 import Templateimport reapp = Flask(__name__)flag = 1@app.route('/cal', methods=['GET'])def cal_tax() -> 'html': try:&.........【阅读全文】
发布时间:2021-04-28 17:00:04
def reverse_list(lst): """ 准换列表的先后顺序 :param lst: 原始列表 :return: 新的列表 """ return [ele for ele in reversed(lst)]low_li.........【阅读全文】
发布时间:2021-04-27 17:13:02
package com.kd.opt.service.impl;import com.kd.opt.entity.Food;import com.kd.opt.service.FoodService;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.stereotype.Service;import java.util.ArrayList;import java.util.List;/** * .........【阅读全文】