vobecant commited on
Commit
2a88595
·
1 Parent(s): c5be7a4

Initial commit.

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -173,8 +173,12 @@ def predict(input_img):
173
  title = "Drive&Segment"
174
  description = 'Gradio Demo accompanying paper "Drive&Segment: Unsupervised Semantic Segmentation of Urban Scenes via Cross-modal Distillation"\nBecause of the CPU-only inference, it might take up to 20s for large images.\nRight now, I use the Segmenter model trained on nuScenes and with 256x256 patches (for the sake of speed).'
175
  # article = "<p style='text-align: center'><a href='TODO' target='_blank'>Project Page</a> | <a href='codelink' target='_blank'>Github</a></p>"
176
- examples = ['examples/img5.jpeg', 'examples/100.jpeg', 'examples/39076.jpeg', 'examples/img1.jpg', 'examples/snow1.jpg']
177
- examples += ['examples/cs{}.jpg'.format(i) for i in range(1, 6)]
 
 
 
 
178
 
179
  # predict(examples[0])
180
 
 
173
  title = "Drive&Segment"
174
  description = 'Gradio Demo accompanying paper "Drive&Segment: Unsupervised Semantic Segmentation of Urban Scenes via Cross-modal Distillation"\nBecause of the CPU-only inference, it might take up to 20s for large images.\nRight now, I use the Segmenter model trained on nuScenes and with 256x256 patches (for the sake of speed).'
175
  # article = "<p style='text-align: center'><a href='TODO' target='_blank'>Project Page</a> | <a href='codelink' target='_blank'>Github</a></p>"
176
+ examples = [ #'examples/img5.jpeg',
177
+ 'examples/100.jpeg',
178
+ 'examples/39076.jpeg',
179
+ 'examples/img1.jpg',
180
+ 'examples/snow1.jpg']
181
+ examples += ['examples/cs{}.jpg'.format(i) for i in range(2, 5)]
182
 
183
  # predict(examples[0])
184