Skip to content

Instantly share code, notes, and snippets.

@cswiger
cswiger / abi.json
Last active October 4, 2022 23:13
uniswapv3_goerli_swap-add
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cswiger
cswiger / sc_June2021.geojson
Created June 16, 2021 13:46
SmartCar_June2021
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# commands use to training an ANN policy to play the Atari game of breakout using parallelized resources of CPU and GPU
# After about 16 hours of training on an i9-9900k (half used by GIMPS prime number search project)
# with an Nvidia GeForce GTX-1060 that is around 50% used intermittantly.
# watch gpu utilization with
# nvidia-smi --query-gpu=utilization.gpu --format=csv -lms
# parameters used are taken from ray/rllib/tuned_examples/ppo/atari-ppo.yaml
# this will create a checkpoint of policy network weights every 100 training iterations