diff --git a/README.md b/README.md index 9ac78cd88d..b732272d8a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ Flightmare can be used for various applications, including path-planning, reinfo ## Installation Installation instructions can be found in our [Wiki](https://github.com/uzh-rpg/flightmare/wiki). +## Updates + * 04.09.2020 Release Flightmare + ## Publication If you use this code in a publication, please cite the following paper **[PDF](https://arxiv.org/abs/2009.00563)** diff --git a/flightlib/setup.py b/flightlib/setup.py index 7fa372eaf7..419cab6259 100644 --- a/flightlib/setup.py +++ b/flightlib/setup.py @@ -30,7 +30,19 @@ def run(self): print("Removing some cache file: ", p) except: pass + FLIGHTLIB_BUILD_FILES = os.environ["FLIGHTMARE_PATH"] + \ + "/flightlib/build/" # -------------------------------- + # remove cached build files + # a hack to solve some cmake error when using "pip install ." + try: + for i, p in enumerate(glob.glob(os.path.join(FLIGHTLIB_EXTERNAL_FILES, "*"))): + shutil.rmtree(p) + print("Removing some cache file: ", p) + except: + pass + # -------------------------------- + try: out = subprocess.check_output(['cmake', '--version']) except OSError: diff --git a/flightrl/examples/view_reward.py b/flightrl/examples/view_reward.py index f77ce470cc..b5b4192802 100644 --- a/flightrl/examples/view_reward.py +++ b/flightrl/examples/view_reward.py @@ -18,7 +18,7 @@ def plot_reward(save_dir, varname, ylabel, save_fig=False): if __name__ == "__main__": - logger_dir = "./saved/2020-08-28-14-59-38/" + logger_dir = "./saved/2020-09-22-13-46-21/" ppo_var_names = ["ep_reward_mean", "ep_len_mean", "policy_entropy"] ppo_y_labels = ["Reward", "Episode Length", "Policy Entropy"] # diff --git a/requirements.txt b/requirements.txt index 352084b523..5cca70d19b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -tensorflow == 1.8.0 \ No newline at end of file +tensorflow-gpu==1.8.0 +scikit-build