This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pkg_resources | |
| from subprocess import call | |
| packages = [dist.project_name for dist in pkg_resources.working_set] | |
| call("pip install --upgrade " + ' '.join(packages), shell=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # %% | |
| import os | |
| import time | |
| import sys | |
| import json | |
| import numpy as np | |
| import torch as th | |
| import matplotlib.pyplot as plt | |
| import motornet as mn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os, time, sys, json | |
| import numpy as np | |
| import torch as th | |
| import matplotlib.pyplot as plt | |
| import motornet as mn | |
| def main_fcn(USE_DUMMY_FUN): | |
| print(f"\nUSE_DUMMY_FUN = {USE_DUMMY_FUN}\n") |
OlderNewer