Skip to content

Commit

Permalink
Use rich click and cleanup (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
nqyy authored Oct 23, 2024
1 parent 95fd49a commit 4da7b6b
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 128 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ Currently, we have:
- [depth estimation](mbodied/agents/sense/depth_estimation_agent.py)
- [object detection](mbodied/agents/sense/object_detection_agent.py)
- [image segmentation](mbodied/agents/sense/segmentation_agent.py)
- [3D object pose estimator](mbodied/agents/sense/object_pose_estimator_3d.py)

agents that process robot's sensor information.

Expand Down
2 changes: 1 addition & 1 deletion examples/1_simple_robot_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import os

import click
import rich_click as click
from pydantic import Field

from mbodied.agents.language import LanguageAgent
Expand Down
2 changes: 1 addition & 1 deletion examples/3_reason_plan_act_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import os
from pathlib import Path

import click
import rich_click as click

from mbodied.agents.language import LanguageAgent
from mbodied.agents.motion.openvla_agent import OpenVlaAgent
Expand Down
2 changes: 1 addition & 1 deletion examples/4_language_reason_plan_act_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import os
from pathlib import Path

import click
import rich_click as click
from gymnasium import spaces
from pydantic import Field

Expand Down
2 changes: 1 addition & 1 deletion examples/5_teach_robot_record_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
python examples/5_teach_robot_record_dataset.py --task "pick up the remote" --backend "openai"
"""

import click
import rich_click as click

from mbodied.agents.language import LanguageAgent
from mbodied.data.replaying import Replayer
Expand Down
2 changes: 1 addition & 1 deletion mbodied/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.2.0"
__version__ = "1.2.6"
121 changes: 0 additions & 121 deletions mbodied/agents/sense/object_pose_estimator_3d.py

This file was deleted.

2 changes: 1 addition & 1 deletion mbodied/data/replaying.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from pathlib import Path
from typing import Any, Callable, List, Tuple

import click
import rich_click as click
import h5py
import numpy as np
from datasets import Dataset, DatasetInfo, Features, Image, Value
Expand Down

0 comments on commit 4da7b6b

Please sign in to comment.