Skip to content

Instantly share code, notes, and snippets.

View lukashermann's full-sized avatar

Lukas Hermann lukashermann

View GitHub Profile
from pathlib import Path
from omegaconf import DictConfig
from calvin_agent.datasets.disk_dataset import DiskDataset
DATASETS_DIR = Path("../calvin_debug_dataset/training")
OBSERVATION_SPACE = DictConfig({"rgb_obs": ['rgb_static', 'rgb_gripper'], # conf/datamodule/observation_space/lang_rgb_static_gripper_rel_act.yaml
"depth_obs": [],
"state_obs": ['robot_obs'],
"actions": ['rel_actions'],
import argparse
import multiprocessing
import os
from pathlib import Path
import subprocess
import sys
import numpy as np
from calvin_agent.utils.utils import get_all_checkpoints
@lukashermann
lukashermann / bug_report_model.py
Last active December 16, 2020 17:54
lightning_hydra_slurm_bug
# Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,