Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/docker-compose' into fea…
Browse files Browse the repository at this point in the history
…ture/docker-compose
  • Loading branch information
apockill committed Dec 12, 2024
2 parents 3b5748a + d0729c5 commit 23ffaff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/7_get_started_with_real_robot.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For a visual walkthrough of the assembly process, you can refer to [this video t

## 2. Configure motors, calibrate arms, teleoperate your Koch v1.1

First, install the additional dependencies required for robots built with dynamixel motors like Koch v1.1 by running one of the following commands.
First, install the additional dependencies required for robots built with dynamixel motors like Koch v1.1 by running one of the following commands (make sure gcc is installed).

Using `pip`:
```bash
Expand Down
6 changes: 5 additions & 1 deletion lerobot/common/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import importlib.resources
import json
import logging
import textwrap
Expand Down Expand Up @@ -476,6 +477,8 @@ def create_lerobot_dataset_card(
Note: If specified, license must be one of https://huggingface.co/docs/hub/repositories-licenses.
"""
card_tags = ["LeRobot"]
card_template_path = importlib.resources.path("lerobot.common.datasets", "card_template.md")

if tags:
card_tags += tags
if dataset_info:
Expand All @@ -493,8 +496,9 @@ def create_lerobot_dataset_card(
}
],
)

return DatasetCard.from_template(
card_data=card_data,
template_path="./lerobot/common/datasets/card_template.md",
template_path=str(card_template_path),
**kwargs,
)

0 comments on commit 23ffaff

Please sign in to comment.