Bläddra i källkod

add 4080

master
wangjin0928 1 år sedan
förälder
incheckning
b1c1c3ef20
61 ändrade filer med 21 tillägg och 4 borttagningar
  1. Binär
      __pycache__/AI.cpython-38.pyc
  2. Binär
      models/__pycache__/__init__.cpython-38.pyc
  3. Binär
      models/__pycache__/common.cpython-38.pyc
  4. Binär
      models/__pycache__/experimental.cpython-38.pyc
  5. +7
    -0
      readme.md
  6. Binär
      segutils/__pycache__/model_stages.cpython-38.pyc
  7. Binär
      segutils/__pycache__/segWaterBuilding.cpython-38.pyc
  8. Binär
      segutils/__pycache__/segmodel.cpython-38.pyc
  9. Binär
      segutils/__pycache__/stdcnet.cpython-38.pyc
  10. Binär
      segutils/__pycache__/trtUtils.cpython-38.pyc
  11. Binär
      segutils/core/__pycache__/__init__.cpython-38.pyc
  12. Binär
      segutils/core/data/__pycache__/__init__.cpython-38.pyc
  13. Binär
      segutils/core/models/__pycache__/__init__.cpython-38.pyc
  14. Binär
      segutils/core/models/__pycache__/bisenet.cpython-38.pyc
  15. Binär
      segutils/core/models/__pycache__/ccnet.cpython-38.pyc
  16. Binär
      segutils/core/models/__pycache__/cgnet.cpython-38.pyc
  17. Binär
      segutils/core/models/__pycache__/danet.cpython-38.pyc
  18. Binär
      segutils/core/models/__pycache__/deeplabv3.cpython-38.pyc
  19. Binär
      segutils/core/models/__pycache__/deeplabv3_plus.cpython-38.pyc
  20. Binär
      segutils/core/models/__pycache__/denseaspp.cpython-38.pyc
  21. Binär
      segutils/core/models/__pycache__/dfanet.cpython-38.pyc
  22. Binär
      segutils/core/models/__pycache__/dinknet.cpython-38.pyc
  23. Binär
      segutils/core/models/__pycache__/dunet.cpython-38.pyc
  24. Binär
      segutils/core/models/__pycache__/encnet.cpython-38.pyc
  25. Binär
      segutils/core/models/__pycache__/enet.cpython-38.pyc
  26. Binär
      segutils/core/models/__pycache__/espnet.cpython-38.pyc
  27. Binär
      segutils/core/models/__pycache__/fcn.cpython-38.pyc
  28. Binär
      segutils/core/models/__pycache__/fcnv2.cpython-38.pyc
  29. Binär
      segutils/core/models/__pycache__/icnet.cpython-38.pyc
  30. Binär
      segutils/core/models/__pycache__/lednet.cpython-38.pyc
  31. Binär
      segutils/core/models/__pycache__/model_zoo.cpython-38.pyc
  32. Binär
      segutils/core/models/__pycache__/ocnet.cpython-38.pyc
  33. Binär
      segutils/core/models/__pycache__/psanet.cpython-38.pyc
  34. Binär
      segutils/core/models/__pycache__/pspnet.cpython-38.pyc
  35. Binär
      segutils/core/models/__pycache__/segbase.cpython-38.pyc
  36. Binär
      segutils/core/models/base_models/__pycache__/__init__.cpython-38.pyc
  37. Binär
      segutils/core/models/base_models/__pycache__/densenet.cpython-38.pyc
  38. Binär
      segutils/core/models/base_models/__pycache__/eespnet.cpython-38.pyc
  39. Binär
      segutils/core/models/base_models/__pycache__/resnet.cpython-38.pyc
  40. Binär
      segutils/core/models/base_models/__pycache__/resnetv1b.cpython-38.pyc
  41. Binär
      segutils/core/models/base_models/__pycache__/vgg.cpython-38.pyc
  42. Binär
      segutils/core/models/base_models/__pycache__/xception.cpython-38.pyc
  43. Binär
      segutils/core/nn/__pycache__/__init__.cpython-38.pyc
  44. Binär
      segutils/core/nn/__pycache__/basic.cpython-38.pyc
  45. Binär
      segutils/core/nn/__pycache__/ca_block.cpython-38.pyc
  46. Binär
      segutils/core/nn/__pycache__/jpu.cpython-38.pyc
  47. Binär
      segutils/core/nn/__pycache__/psa_block.cpython-38.pyc
  48. Binär
      segutils/core/utils/__pycache__/__init__.cpython-38.pyc
  49. Binär
      segutils/core/utils/__pycache__/download.cpython-38.pyc
  50. Binär
      segutils/core/utils/__pycache__/filesystem.cpython-38.pyc
  51. +7
    -0
      segutils/run.sh
  52. +7
    -4
      segutils/segmodel_trt.py
  53. Binär
      utils/__pycache__/__init__.cpython-38.pyc
  54. Binär
      utils/__pycache__/datasets.cpython-38.pyc
  55. Binär
      utils/__pycache__/general.cpython-38.pyc
  56. Binär
      utils/__pycache__/google_utils.cpython-38.pyc
  57. Binär
      utils/__pycache__/metrics.cpython-38.pyc
  58. Binär
      utils/__pycache__/plots.cpython-38.pyc
  59. Binär
      utils/__pycache__/torch_utils.cpython-38.pyc
  60. Binär
      utilsK/__pycache__/masterUtils.cpython-38.pyc
  61. Binär
      utilsK/__pycache__/queRiver.cpython-38.pyc

Binär
__pycache__/AI.cpython-38.pyc Visa fil


Binär
models/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
models/__pycache__/common.cpython-38.pyc Visa fil


Binär
models/__pycache__/experimental.cpython-38.pyc Visa fil


+ 7
- 0
readme.md Visa fil

@@ -1,2 +1,9 @@
2.0--变化如下:
每个模型都要采用TRT模型
2023.1.17
1.增加检测模型(countryRoad)--乡间道路检测---类别包括:违法种植
2.增加钓鱼游泳模型(AnglerSwimmer)--类别包括:钓鱼、游泳
3.更新车辆检测模型--增加网络公开卡口数据
4.更新高速路里的公路检测分割模型--增加乡间小路的数据
2023.1.29
1.增加模型对4080的TRT兼容

Binär
segutils/__pycache__/model_stages.cpython-38.pyc Visa fil


Binär
segutils/__pycache__/segWaterBuilding.cpython-38.pyc Visa fil


Binär
segutils/__pycache__/segmodel.cpython-38.pyc Visa fil


Binär
segutils/__pycache__/stdcnet.cpython-38.pyc Visa fil


Binär
segutils/__pycache__/trtUtils.cpython-38.pyc Visa fil


Binär
segutils/core/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/data/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/bisenet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/ccnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/cgnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/danet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/deeplabv3.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/deeplabv3_plus.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/denseaspp.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/dfanet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/dinknet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/dunet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/encnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/enet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/espnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/fcn.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/fcnv2.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/icnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/lednet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/model_zoo.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/ocnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/psanet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/pspnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/__pycache__/segbase.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/densenet.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/eespnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/resnet.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/resnetv1b.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/vgg.cpython-38.pyc Visa fil


Binär
segutils/core/models/base_models/__pycache__/xception.cpython-38.pyc Visa fil


Binär
segutils/core/nn/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/nn/__pycache__/basic.cpython-38.pyc Visa fil


Binär
segutils/core/nn/__pycache__/ca_block.cpython-38.pyc Visa fil


Binär
segutils/core/nn/__pycache__/jpu.cpython-38.pyc Visa fil


Binär
segutils/core/nn/__pycache__/psa_block.cpython-38.pyc Visa fil


Binär
segutils/core/utils/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
segutils/core/utils/__pycache__/download.cpython-38.pyc Visa fil


Binär
segutils/core/utils/__pycache__/filesystem.cpython-38.pyc Visa fil


+ 7
- 0
segutils/run.sh Visa fil

@@ -0,0 +1,7 @@
for business in road river
do
echo do $business
python segmodel_trt.py --weights ../../../yolov5TRT/weights/${business}/stdc_360X640.pth
rm ../../../yolov5TRT/weights/${business}/stdc_360X640.onnx
mv ../../../yolov5TRT/weights/${business}/stdc_360X640.engine ../../../yolov5TRT/weights/${business}/stdc_360X640_4080_fp16.engine
done

+ 7
- 4
segutils/segmodel_trt.py Visa fil

@@ -1,4 +1,5 @@
import torch
import argparse
import sys,os
sys.path.extend(['segutils'])
from core.models.bisenet import BiSeNet
@@ -521,10 +522,12 @@ def EngineInfer(par):
if __name__=='__main__':
pthFile = Path('../weights/road/stdc_360X640.pth')
parser = argparse.ArgumentParser()
parser.add_argument('--weights', type=str, default='stdc_360X640.pth', help='model path(s)')
opt = parser.parse_args()
print( opt.weights )
#pthFile = Path('../../../yolov5TRT/weights/river/stdc_360X640.pth')
pthFile = Path(opt.weights)
onnxFile = pthFile.with_suffix('.onnx')
trtFile = onnxFile.with_suffix('.engine')


Binär
utils/__pycache__/__init__.cpython-38.pyc Visa fil


Binär
utils/__pycache__/datasets.cpython-38.pyc Visa fil


Binär
utils/__pycache__/general.cpython-38.pyc Visa fil


Binär
utils/__pycache__/google_utils.cpython-38.pyc Visa fil


Binär
utils/__pycache__/metrics.cpython-38.pyc Visa fil


Binär
utils/__pycache__/plots.cpython-38.pyc Visa fil


Binär
utils/__pycache__/torch_utils.cpython-38.pyc Visa fil


Binär
utilsK/__pycache__/masterUtils.cpython-38.pyc Visa fil


Binär
utilsK/__pycache__/queRiver.cpython-38.pyc Visa fil


Laddar…
Avbryt
Spara