"src/git@developer.sourcefind.cn:OpenDAS/lmdeploy.git" did not exist on "abe9f7bd99c07d3c29f206952b564c1de998d0da"
Commit a879c1b4 authored by Yanghan Wang's avatar Yanghan Wang Committed by Facebook GitHub Bot
Browse files

move detectron2 related .autodeps.toml to detectron2

Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/572

Reviewed By: ajinkya-deogade

Differential Revision: D46664313

fbshipit-source-id: acb1876c92c3907eb185dd144782495bda593d23
parent bcad53f6
...@@ -222,9 +222,9 @@ def add_d2_quant_mapping(mappings): ...@@ -222,9 +222,9 @@ def add_d2_quant_mapping(mappings):
def mock_quantization_type(quant_func): def mock_quantization_type(quant_func):
import builtins import builtins
import functools import functools
from unittest import mock
import detectron2.layers as d2l import detectron2.layers as d2l
import mock
type_mapping = {d2l.Linear: torch.nn.Linear} type_mapping = {d2l.Linear: torch.nn.Linear}
from d2go.utils.misc import check_version from d2go.utils.misc import check_version
......
...@@ -10,7 +10,7 @@ from typing import Any, Callable, List, TypeVar ...@@ -10,7 +10,7 @@ from typing import Any, Callable, List, TypeVar
import detectron2.utils.comm as comm import detectron2.utils.comm as comm
import torch import torch
from detectron2.data import MetadataCatalog from detectron2.data import MetadataCatalog
from detectron2.engine import DefaultTrainer from detectron2.engine.defaults import DefaultTrainer
from detectron2.evaluation import ( from detectron2.evaluation import (
CityscapesInstanceEvaluator, CityscapesInstanceEvaluator,
CityscapesSemSegEvaluator, CityscapesSemSegEvaluator,
......
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