Commit 93c3a87e authored by 吴升宇's avatar 吴升宇

fix celery

parent 3004d8b3
from __future__ import absolute_import
from proj.celery import app
from demo.webcam import img_to_three_color_map
from proj.webcam import img_to_three_color_map
@app.task
def img_reproce(source_path, target_path):
img_to_three_color_map(source_path, target_path)
\ No newline at end of file
img_to_three_color_map(source_path, target_path)
......@@ -3,7 +3,7 @@ import argparse
import cv2
from maskrcnn_benchmark.config import cfg
from predictor import COCODemo
from proj.predictor import COCODemo
def img_to_three_color_map(source_path, target_path):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment