isLinXu commited on
Commit
3d9521c
·
1 Parent(s): ae8dc7c
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,5 @@
1
  import os
2
 
3
- from mmengine import Config
4
-
5
  os.system("pip install 'mmengine>=0.6.0'")
6
  os.system("pip install 'mmcv>=2.0.0rc4,<2.1.0'")
7
  os.system("pip install mmsegmentation")
@@ -11,6 +9,7 @@ import fnmatch
11
  import cv2
12
  import numpy as np
13
  import torch
 
14
  from mmseg.apis import init_model, inference_model, show_result_pyplot
15
  from mmseg.apis import MMSegInferencer
16
 
 
1
  import os
2
 
 
 
3
  os.system("pip install 'mmengine>=0.6.0'")
4
  os.system("pip install 'mmcv>=2.0.0rc4,<2.1.0'")
5
  os.system("pip install mmsegmentation")
 
9
  import cv2
10
  import numpy as np
11
  import torch
12
+ from mmengine import Config
13
  from mmseg.apis import init_model, inference_model, show_result_pyplot
14
  from mmseg.apis import MMSegInferencer
15