David Nicolas
David Nicolas
Use labelme make the json annotation and save the json file in the same directory with the JPEG file, then use the run labelme2seg.py file, want to get the png...
Thanks for your bug report. To help us solve the issue better, please provide following information: 1. PaddleSeg version: (please specify the branch as well,e.g. PaddleSeg release/2.3) 2. PaddlePaddle version:...
- **InfluxDB version:** e.g. 2.1.1 - **Python version:** e.g. 3.7.4 (output of the `python --version` command) - **Operating system version: windows10** I am now using influxdb 2.1 version, and found...
- add "可选" for the default parameters - fix some format issue PADDLEPADDLE_PR: https://github.com/PaddlePaddle/Paddle/pull/45068/ PADDLEPADDLE_PR=45068
### 文档中英文链接 - 中文:https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/crop_cn.html - 英文:https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/crop_en.html ### 红线问题 1. 中英文API定义部分:paddle.crop(x, shape=None, offsets=None, name=None), 对于shape提供默认值None, 参数部分可以修改成shape (list|tuple|Tensor, 可选) 2. 使用shpe=None进行计算时会报错,已经提交bug(https://github.com/PaddlePaddle/Paddle/issues/44117) ### 结构问题 _No response_ ### 内容问题 _No response_ ### 格式问题 _No...
dl_train = DataLoader(TensorDataset(torch.tensor(x_train).float(),torch.tensor(y_train).float()), shuffle = True, batch_size = 8) dl_valid = DataLoader(TensorDataset(torch.tensor(x_test).float(),torch.tensor(y_test).float()), shuffle = False, batch_size = 8) --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) in ----> 1 dl_train =...
按照demo进行服务化部署,在服务端使用hub serving start开启服务后,能正常看到启动的日志。 此时再客户端使用脚本读取两张图片并按照demo演示向服务端发送post请求,但是没有收到正确的推理结果, 通过 print(r.json())打印结果,得到 {'msg': 'list index out of range', 'results': '', 'status': '101'},不知道为什么。 客户端发动的请求代码如下: import requests import json import cv2 import base64 def cv2_to_base64(image): data = cv2.imencode('.jpg',...
line 193 was " labels_str = f.read().split()", this will lead to a wrong result when use it for voc dataset transfer to coco, because the image labels in the file...