Xiaoyu Zhang

Results 24 issues of Xiaoyu Zhang

我用opencv3.4.0编译里代码,在执行批量测试功能报错,OpenCV Error: Parsing error (Missing or invalid SVM type) in read_params, file /home/just_sort/opencv-3.4.0/modules/ml/src/svm.cpp, line 2198 terminate called after throwing an instance of 'cv::Exception' what(): /home/just_sort/opencv-3.4.0/modules/ml/src/svm.cpp:2198: error: (-212) Missing or invalid...

解决:https://github.com/Oneflow-Inc/libai/issues/342#issuecomment-1207565463 - [x] 注册 nn.Dropout1d/2d/3d api。 - [x] 添加文档和接口测试。 ![图片](https://user-images.githubusercontent.com/35585791/183448857-d887676a-5f40-4d4c-9b34-a0331a960d91.png) ![图片](https://user-images.githubusercontent.com/35585791/183449032-ca4fc18c-6de3-4f90-ad2d-587e1adf727b.png) ![图片](https://user-images.githubusercontent.com/35585791/183449090-60c39143-4a4a-4656-bd70-1db29478533e.png)

fix shufflenet bug, ![image](https://user-images.githubusercontent.com/35585791/132991873-bc2bc979-8628-4eca-a83e-069b51846bcf.png)

#close https://github.com/Oneflow-Inc/oneflow/issues/9131

enhancement
feature
automerge
bug
eager
api

来源:yolov5加载yolov5s.onnx做预测的时候。 pytorch脚本: ``` import torch as flow targets = flow.randn((0, 6), device="cuda") print(targets.shape) height, width = 640, 640 targets[:, 2:] *= flow.tensor((width, height, width, height), device="cuda") ``` 输出: ``` torch.Size([0,...

bug
community

fix https://github.com/thu-pacman/PET/issues/5#issuecomment-1162861769

ed, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 CXX/LD -o .build_release/tools/compute_image_mean.bin CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin CXX/LD -o .build_release/tools/caffe.bin CXX/LD...

#close https://github.com/Oneflow-Inc/oneflow/issues/9381

enhancement
automerge
bug
eager
api

eager amp 支持 scaler ,eager 可以做完整的 amp 训练。 https://github.com/Oneflow-Inc/OneTeam/issues/1754 export ONEFLOW_VM_COMPUTE_ON_WORKER_THREAD=0之后 eager amp测试结果: ![图片](https://user-images.githubusercontent.com/35585791/200208979-fbaaaa5a-408b-4e17-9c3c-3e88f2007aa2.png) ![图片](https://user-images.githubusercontent.com/35585791/200208994-b149741d-ee2f-4eff-97f4-7ecb75c594b6.png) 无论是训练速度还是显存占用相比于fp32模式都有较大的提升。