Skip to content

Instantly share code, notes, and snippets.

"""
Call in the root directory (i.e. ../ from the directory this file is in)
"""
import numpy as np
from softlearning.utils.dict import deep_update
from softlearning.environments.utils import get_environment_from_params
from softlearning.policies.utils import get_additional_policy_params
import openpyxl
# Load the workbook
SOURCE_FILE = 'a2_firstname_lastname.xlsx'
SOURCE_PATH = "/Users/avaneesh/Library/CloudStorage/OneDrive-NortheasternUniversity/Cloud-Fall2024/Assignment-2/"
TGT_PATH = SOURCE_PATH
TGT_FILE_PREFIX = 'a2_'
# This is a copy from https://github.com/Haydnspass/miniforge#rosetta-on-mac-with-apple-silicon-hardware
ENV=<env-name>
CONDA_SUBDIR=osx-64 conda create -n $ENV # create a new environment
conda activate $ENV
conda env config vars set CONDA_SUBDIR=osx-64 # subsequent commands use intel packages
## In case of error also look at the below script
## https://towardsdatascience.com/using-conda-on-an-m1-mac-b2df5608a141
@avan-sh
avan-sh / gh_actions_kedro.yml
Created March 28, 2022 03:16
Simple Github actions CI script
name: CI tests
on:
workflow_dispatch: ~
push:
branches:
- main
paths:
- '**.py'
pull_request:
branches: