Skip to content

Commit

Permalink
Fixed pre-commit complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuguangw committed Jul 20, 2023
1 parent 2fb477f commit d3cd667
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions zsos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import frontier_exploration

import zsos.obs_transformers.resize
from zsos.policy import base_policy, llm_policy
2 changes: 1 addition & 1 deletion zsos/policy/llm_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

import numpy as np
import torch
from frontier_exploration.policy import FrontierExplorationPolicy
from habitat.tasks.nav.object_nav_task import ObjectGoalSensor
from habitat_baselines.common.baseline_registry import baseline_registry
from habitat_baselines.common.tensor_dict import TensorDict
from habitat_baselines.rl.ppo.policy import PolicyActionData
from torch import Tensor

from frontier_exploration.policy import FrontierExplorationPolicy
from zsos.llm.llm import BaseLLM, ClientFastChat
from zsos.mapping.object_map import ObjectMap
from zsos.obs_transformers.resize import image_resize
Expand Down
2 changes: 1 addition & 1 deletion zsos/vlm/grounding_dino.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np
import torch
import torchvision.transforms.functional as F

from groundingdino.util.inference import load_model, predict

from zsos.vlm.detections import ObjectDetections

from .server_wrapper import ServerMixin, host_model, send_request, str_to_image
Expand Down

0 comments on commit d3cd667

Please sign in to comment.