wangjin0928 před 1 rokem
rodič
revize
b1c1c3ef20
61 změnil soubory, kde provedl 21 přidání a 4 odebrání
  1. binární
      __pycache__/AI.cpython-38.pyc
  2. binární
      models/__pycache__/__init__.cpython-38.pyc
  3. binární
      models/__pycache__/common.cpython-38.pyc
  4. binární
      models/__pycache__/experimental.cpython-38.pyc
  5. +7
    -0
      readme.md
  6. binární
      segutils/__pycache__/model_stages.cpython-38.pyc
  7. binární
      segutils/__pycache__/segWaterBuilding.cpython-38.pyc
  8. binární
      segutils/__pycache__/segmodel.cpython-38.pyc
  9. binární
      segutils/__pycache__/stdcnet.cpython-38.pyc
  10. binární
      segutils/__pycache__/trtUtils.cpython-38.pyc
  11. binární
      segutils/core/__pycache__/__init__.cpython-38.pyc
  12. binární
      segutils/core/data/__pycache__/__init__.cpython-38.pyc
  13. binární
      segutils/core/models/__pycache__/__init__.cpython-38.pyc
  14. binární
      segutils/core/models/__pycache__/bisenet.cpython-38.pyc
  15. binární
      segutils/core/models/__pycache__/ccnet.cpython-38.pyc
  16. binární
      segutils/core/models/__pycache__/cgnet.cpython-38.pyc
  17. binární
      segutils/core/models/__pycache__/danet.cpython-38.pyc
  18. binární
      segutils/core/models/__pycache__/deeplabv3.cpython-38.pyc
  19. binární
      segutils/core/models/__pycache__/deeplabv3_plus.cpython-38.pyc
  20. binární
      segutils/core/models/__pycache__/denseaspp.cpython-38.pyc
  21. binární
      segutils/core/models/__pycache__/dfanet.cpython-38.pyc
  22. binární
      segutils/core/models/__pycache__/dinknet.cpython-38.pyc
  23. binární
      segutils/core/models/__pycache__/dunet.cpython-38.pyc
  24. binární
      segutils/core/models/__pycache__/encnet.cpython-38.pyc
  25. binární
      segutils/core/models/__pycache__/enet.cpython-38.pyc
  26. binární
      segutils/core/models/__pycache__/espnet.cpython-38.pyc
  27. binární
      segutils/core/models/__pycache__/fcn.cpython-38.pyc
  28. binární
      segutils/core/models/__pycache__/fcnv2.cpython-38.pyc
  29. binární
      segutils/core/models/__pycache__/icnet.cpython-38.pyc
  30. binární
      segutils/core/models/__pycache__/lednet.cpython-38.pyc
  31. binární
      segutils/core/models/__pycache__/model_zoo.cpython-38.pyc
  32. binární
      segutils/core/models/__pycache__/ocnet.cpython-38.pyc
  33. binární
      segutils/core/models/__pycache__/psanet.cpython-38.pyc
  34. binární
      segutils/core/models/__pycache__/pspnet.cpython-38.pyc
  35. binární
      segutils/core/models/__pycache__/segbase.cpython-38.pyc
  36. binární
      segutils/core/models/base_models/__pycache__/__init__.cpython-38.pyc
  37. binární
      segutils/core/models/base_models/__pycache__/densenet.cpython-38.pyc
  38. binární
      segutils/core/models/base_models/__pycache__/eespnet.cpython-38.pyc
  39. binární
      segutils/core/models/base_models/__pycache__/resnet.cpython-38.pyc
  40. binární
      segutils/core/models/base_models/__pycache__/resnetv1b.cpython-38.pyc
  41. binární
      segutils/core/models/base_models/__pycache__/vgg.cpython-38.pyc
  42. binární
      segutils/core/models/base_models/__pycache__/xception.cpython-38.pyc
  43. binární
      segutils/core/nn/__pycache__/__init__.cpython-38.pyc
  44. binární
      segutils/core/nn/__pycache__/basic.cpython-38.pyc
  45. binární
      segutils/core/nn/__pycache__/ca_block.cpython-38.pyc
  46. binární
      segutils/core/nn/__pycache__/jpu.cpython-38.pyc
  47. binární
      segutils/core/nn/__pycache__/psa_block.cpython-38.pyc
  48. binární
      segutils/core/utils/__pycache__/__init__.cpython-38.pyc
  49. binární
      segutils/core/utils/__pycache__/download.cpython-38.pyc
  50. binární
      segutils/core/utils/__pycache__/filesystem.cpython-38.pyc
  51. +7
    -0
      segutils/run.sh
  52. +7
    -4
      segutils/segmodel_trt.py
  53. binární
      utils/__pycache__/__init__.cpython-38.pyc
  54. binární
      utils/__pycache__/datasets.cpython-38.pyc
  55. binární
      utils/__pycache__/general.cpython-38.pyc
  56. binární
      utils/__pycache__/google_utils.cpython-38.pyc
  57. binární
      utils/__pycache__/metrics.cpython-38.pyc
  58. binární
      utils/__pycache__/plots.cpython-38.pyc
  59. binární
      utils/__pycache__/torch_utils.cpython-38.pyc
  60. binární
      utilsK/__pycache__/masterUtils.cpython-38.pyc
  61. binární
      utilsK/__pycache__/queRiver.cpython-38.pyc

binární
__pycache__/AI.cpython-38.pyc Zobrazit soubor


binární
models/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
models/__pycache__/common.cpython-38.pyc Zobrazit soubor


binární
models/__pycache__/experimental.cpython-38.pyc Zobrazit soubor


+ 7
- 0
readme.md Zobrazit soubor

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

binární
segutils/__pycache__/model_stages.cpython-38.pyc Zobrazit soubor


binární
segutils/__pycache__/segWaterBuilding.cpython-38.pyc Zobrazit soubor


binární
segutils/__pycache__/segmodel.cpython-38.pyc Zobrazit soubor


binární
segutils/__pycache__/stdcnet.cpython-38.pyc Zobrazit soubor


binární
segutils/__pycache__/trtUtils.cpython-38.pyc Zobrazit soubor


binární
segutils/core/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/data/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/bisenet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/ccnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/cgnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/danet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/deeplabv3.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/deeplabv3_plus.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/denseaspp.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/dfanet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/dinknet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/dunet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/encnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/enet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/espnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/fcn.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/fcnv2.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/icnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/lednet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/model_zoo.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/ocnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/psanet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/pspnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/__pycache__/segbase.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/densenet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/eespnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/resnet.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/resnetv1b.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/vgg.cpython-38.pyc Zobrazit soubor


binární
segutils/core/models/base_models/__pycache__/xception.cpython-38.pyc Zobrazit soubor


binární
segutils/core/nn/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/nn/__pycache__/basic.cpython-38.pyc Zobrazit soubor


binární
segutils/core/nn/__pycache__/ca_block.cpython-38.pyc Zobrazit soubor


binární
segutils/core/nn/__pycache__/jpu.cpython-38.pyc Zobrazit soubor


binární
segutils/core/nn/__pycache__/psa_block.cpython-38.pyc Zobrazit soubor


binární
segutils/core/utils/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
segutils/core/utils/__pycache__/download.cpython-38.pyc Zobrazit soubor


binární
segutils/core/utils/__pycache__/filesystem.cpython-38.pyc Zobrazit soubor


+ 7
- 0
segutils/run.sh Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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ární
utils/__pycache__/__init__.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/datasets.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/general.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/google_utils.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/metrics.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/plots.cpython-38.pyc Zobrazit soubor


binární
utils/__pycache__/torch_utils.cpython-38.pyc Zobrazit soubor


binární
utilsK/__pycache__/masterUtils.cpython-38.pyc Zobrazit soubor


binární
utilsK/__pycache__/queRiver.cpython-38.pyc Zobrazit soubor


Načítá se…
Zrušit
Uložit