author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
331,610 | 15.03.2022 10:38:12 | 14,400 | f0076a31460d4462b7fd356e1afd86acc97b42b5 | Fix contact info and add requests | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/pimoroni-blinkt-listener/README.md",
"new_path": "listener_clients/pimoroni-blinkt-listener/README.md",
"diff": "@@ -14,7 +14,7 @@ https://shop.pimoroni.com/products/blinkt\nOR\nhttps://www.adafruit.com/product/3195 (Shipped from USA)\n-To con... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix contact info and add requests |
331,610 | 15.03.2022 11:18:23 | 14,400 | c3f275167b24aac4620a97ed0ecf0b3d49bf84fb | Change to if instead of commenting out everything | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"new_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"diff": "@@ -24,13 +24,16 @@ Preferences preferences;\nchar tallyarbiter_host... | JavaScript | MIT License | josephdadams/tallyarbiter | Change to if instead of commenting out everything |
331,614 | 15.03.2022 10:47:19 | 21,600 | 953d3e706487128455e719c8d2df6b80f484a4bf | Check for null obj
Added check for null object before reparsing | [
{
"change_type": "MODIFY",
"old_path": "src/index.ts",
"new_path": "src/index.ts",
"diff": "@@ -332,9 +332,10 @@ function initialSetup() {\nsupportsChat (bool)\n*/\n- logger(`Received JSON object: ${obj}`); //To make it easier for devs to verify the JSON objects they're sending\n-\n+ if(typeof obj !... | JavaScript | MIT License | josephdadams/tallyarbiter | Check for null obj
Added check for null object before reparsing |
331,609 | 21.03.2022 22:51:51 | -3,600 | f4c363e36cfa796f354b8dab2fb06a2f08edaa3b | Log auth errors | [
{
"change_type": "MODIFY",
"old_path": "src/index.ts",
"new_path": "src/index.ts",
"diff": "@@ -249,10 +249,9 @@ function initialSetup() {\nsocket.on('login', (username: string, password: string) => {\nauthenticate(username, password).then((result) => {\n- socket.emit('login_result', true); //old re... | JavaScript | MIT License | josephdadams/tallyarbiter | Log auth errors |
331,609 | 21.03.2022 23:46:45 | -3,600 | f8b49bae5e669263cdbea584d3797437260dcbd8 | replace currentConfig with loadedConfig | [
{
"change_type": "MODIFY",
"old_path": "src/_helpers/config.ts",
"new_path": "src/_helpers/config.ts",
"diff": "@@ -91,13 +91,13 @@ export function readConfig(): void {\nlogger('Migrating user configs to the new format.', 'info-quiet');\ncurrentConfig.users = [];\naddUser({\n- username: currentConfi... | JavaScript | MIT License | josephdadams/tallyarbiter | replace currentConfig with loadedConfig |
331,609 | 22.03.2022 00:00:58 | -3,600 | 5370be8e42d3239c4323d2e2411214af5fd8c65a | Fix jwt_private_key not added after migration | [
{
"change_type": "MODIFY",
"old_path": "src/_helpers/config.ts",
"new_path": "src/_helpers/config.ts",
"diff": "@@ -3,6 +3,7 @@ import { Config } from \"../_models/Config\";\nimport { ConfigTSLClient } from \"../_models/ConfigTSLClient\";\nimport fs from \"fs-extra\";\nimport path from \"path\";\n+i... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix jwt_private_key not added after migration |
331,627 | 13.04.2022 00:28:47 | -3,600 | c42ed38c9cd9e33dcb17a1e884b29ffc88902d12 | RGB to GRB bug correction
The code wasn't converting the RGB to GRB | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"new_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"diff": "@@ -340,7 +340,7 @@ void evaluateMode() {\nint b = colorNumber & 0xF... | JavaScript | MIT License | josephdadams/tallyarbiter | RGB to GRB bug correction
The code wasn't converting the RGB to GRB |
331,609 | 20.04.2022 17:47:26 | -7,200 | dbfcf6bcf0f208b699ef08922563a424b3435771 | Fixed some GPO listener bugs | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -132,6 +132,10 @@ config_relays.json\n*.hex\n*.hex.bin\n+# don't include Python listener clients dev files\n+venv\n+env\n+\n# don't include .DS_Store file and vscode workspace file\n.DS_Store\nTallyArbiter.cod... | JavaScript | MIT License | josephdadams/tallyarbiter | Fixed some GPO listener bugs |
331,609 | 20.04.2022 17:52:15 | -7,200 | cd414346d37e1dd0fae544da97b5b790c3297d49 | Remove useless print in GPO listener | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/gpo-listener/gpo-listener.py",
"new_path": "listener_clients/gpo-listener/gpo-listener.py",
"diff": "@@ -278,7 +278,7 @@ def processTallyData():\nif device_state[\"deviceId\"] == gpo_group[\"deviceId\"]:\nfor gpo in gpo_group[\"gpos\"]:\nif gp... | JavaScript | MIT License | josephdadams/tallyarbiter | Remove useless print in GPO listener |
331,627 | 21.04.2022 23:19:41 | -3,600 | 0e79d5312bfdc11c2fba706e8966181d80e58241 | Fixed Tally Extra Output not working
actualType is literally the type between "" (ex: "program") so an escape sequence is needed for the interpret to acknowledge the quotes when comparing | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"new_path": "listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino",
"diff": "@@ -352,15 +352,15 @@ void evaluateMode() {\n}\n#if TALLY_EXTRA_OUTP... | JavaScript | MIT License | josephdadams/tallyarbiter | Fixed Tally Extra Output not working
actualType is literally the type between "" (ex: "program") so an escape sequence is needed for the interpret to acknowledge the quotes when comparing |
331,626 | 04.05.2022 15:57:46 | -7,200 | 09dd12fbf392e04857aa9cd1313ae0d5aae0788d | (chore) fix missing popperjs | [
{
"change_type": "MODIFY",
"old_path": "UI/package-lock.json",
"new_path": "UI/package-lock.json",
"diff": "\"@angular/service-worker\": \"~13.3.5\",\n\"@fortawesome/fontawesome-free\": \"^6.1.1\",\n\"@ng-bootstrap/ng-bootstrap\": \"^12.1.1\",\n+ \"@popperjs/core\": \"^2.11.5\",\n\"@types/socket.io-... | JavaScript | MIT License | josephdadams/tallyarbiter | (chore) fix missing popperjs |
331,626 | 04.05.2022 15:10:22 | -7,200 | 351c4fd9c636d79584f7cf6556340eef9ce88061 | obs: ignore hidden scene items | [
{
"change_type": "MODIFY",
"old_path": "src/sources/OBS.ts",
"new_path": "src/sources/OBS.ts",
"diff": "@@ -14,6 +14,8 @@ export class OBSSource extends TallyInput {\nprivate scenes: ObsWebSocket.Scene[] = [];\nprivate isTransitionFinished = true;\nprivate currentTransitionFromScene: ObsWebSocket.Sc... | JavaScript | MIT License | josephdadams/tallyarbiter | obs: ignore hidden scene items |
331,626 | 04.05.2022 15:55:47 | -7,200 | 029893420aae9ed4e5606b879517c72e1f0d255e | fix tally data logging | [
{
"change_type": "MODIFY",
"old_path": "UI/src/app/_services/socket.service.ts",
"new_path": "UI/src/app/_services/socket.service.ts",
"diff": "@@ -155,15 +155,13 @@ export class SocketService {\nthis.logs.push(log);\nthis.newLogsSubject.next();\n});\n- this.socket.on('tally_data', (sourceId: string... | JavaScript | MIT License | josephdadams/tallyarbiter | fix tally data logging |
331,626 | 05.05.2022 10:35:27 | -7,200 | a5ab85b78ecc16b2b34ffb87d582639cca872ded | update mdns lib and fix | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "\"atem-connection\": \"3.0.0-nightly-latest-20210530-132658-16c3cdd.0\",\n\"axios\": \"^0.27.2\",\n\"bcrypt\": \"^5.0.1\",\n- \"bonjour\": \"^3.5.0\",\n+ \"bonjour-service\": \"^1.0.12\",\n\"compres... | JavaScript | MIT License | josephdadams/tallyarbiter | update mdns lib and fix #421 |
331,626 | 05.05.2022 10:38:05 | -7,200 | 408c0e7941e26fb00024417b538bd08e3c236ba1 | fix crash when connecting to atem | [
{
"change_type": "MODIFY",
"old_path": "src/sources/BlackmagicATEM.ts",
"new_path": "src/sources/BlackmagicATEM.ts",
"diff": "@@ -98,7 +98,7 @@ export class BlackmagicATEMSource extends TallyInput {\nthis.pgmList = new Set();\nthis.prvList = new Set();\nfor (let i = 0; i < state.video.mixEffects.len... | JavaScript | MIT License | josephdadams/tallyarbiter | fix crash when connecting to atem |
331,626 | 05.05.2022 10:42:50 | -7,200 | 7fc90f7f5f8a5725ba5144e11cd3e10f78c80fa1 | show service name in mdns discovery table | [
{
"change_type": "MODIFY",
"old_path": "UI/src/app/_components/settings/settings.component.html",
"new_path": "UI/src/app/_components/settings/settings.component.html",
"diff": "<tr>\n<th>IP/Host</th>\n<th>Type</th>\n+ <th>Name</th>\n<th></th>\n</tr>\n</thead>\n</select>\n</td>\n<td>{{ getSourceType... | JavaScript | MIT License | josephdadams/tallyarbiter | show service name in mdns discovery table |
331,626 | 05.05.2022 10:51:48 | -7,200 | 476f2e308c9bf6d6c20e75e804d0d6f3d36ee113 | move values to constant | [
{
"change_type": "MODIFY",
"old_path": "main.js",
"new_path": "main.js",
"diff": "@@ -8,6 +8,11 @@ let server;\nlet mainWindow;\nlet trayIcon;\n+const WindowProperties = {\n+ width: 1260,\n+ height: 850,\n+}\n+\nconst gotTheLock = app.requestSingleInstanceLock();\nfunction processError(err) {\n@@ -2... | JavaScript | MIT License | josephdadams/tallyarbiter | move values to constant |
331,609 | 06.05.2022 00:28:37 | -7,200 | 4b87e259f19c6ff7ab6dd21ec2541e08f30b88e6 | Fix GPO Listener bug | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/gpo-listener/gpo-listener.py",
"new_path": "listener_clients/gpo-listener/gpo-listener.py",
"diff": "@@ -283,7 +283,6 @@ def processTallyData():\ngpo[\"lastState\"] = True\npowered_pins.append(gpo[\"pinNumber\"])\nfor device_state in device_st... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix GPO Listener bug #432 |
331,609 | 05.05.2022 22:54:23 | 0 | dbc065925151c045b4e4efdb8f314dc6f17a856e | Update techministry.blog references | [
{
"change_type": "MODIFY",
"old_path": "UI/src/app/_components/about/about.component.html",
"new_path": "UI/src/app/_components/about/about.component.html",
"diff": "<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>\... | JavaScript | MIT License | josephdadams/tallyarbiter | Update techministry.blog references |
331,626 | 11.05.2022 14:45:38 | -7,200 | c97a24c2ab9723a3fa284eaa060ad033a91d4a73 | fix vmix emulator is not started | [
{
"change_type": "MODIFY",
"old_path": "src/_modules/TSL.ts",
"new_path": "src/_modules/TSL.ts",
"diff": "@@ -11,8 +11,8 @@ import { Device } from \"../_models/Device\";\nexport class TSLListenerProvider extends ListenerProvider {\npublic tsl_clients: TSLClient[] = [];\n- constructor() {\n- super();... | JavaScript | MIT License | josephdadams/tallyarbiter | fix #420: vmix emulator is not started |
331,609 | 17.05.2022 19:35:52 | 0 | 1088037e63b786abf75ca2389ea4f2f72ef248e7 | Fix config migration | [
{
"change_type": "MODIFY",
"old_path": "src/_helpers/config.ts",
"new_path": "src/_helpers/config.ts",
"diff": "@@ -88,6 +88,16 @@ export function readConfig(): void {\n...clone(ConfigDefaults),\n...loadedConfig,\n};\n+ if(!loadedConfig.uuid || typeof loadedConfig.uuid !== \"string\") {\n+ logger('A... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix config migration |
331,612 | 13.07.2022 09:17:18 | 18,000 | 8628de441ed2d63f98c6904940ed0ece8fe69da9 | Fix off by one error and unhandled undefined in relay-listener | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/relay-listener/index.js",
"new_path": "listener_clients/relay-listener/index.js",
"diff": "@@ -258,7 +258,7 @@ function getBusTypeById(busId) {\nfunction getRelayGroupById(deviceId) {\nlet groupIndex;\n- for (i = 0; i <= relay_groups.length; i... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix off by one error and unhandled undefined in relay-listener |
331,608 | 24.09.2022 20:27:14 | 14,400 | 125c863466223ca8be158da6ff53ab2796b5e2c3 | Update m5stickc-listener.ino
Fix internal LED (LOW/HIGH were reversed) | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/m5stickc-listener/m5stickc-listener.ino",
"new_path": "listener_clients/m5stickc-listener/m5stickc-listener.ino",
"diff": "@@ -164,11 +164,11 @@ void setup() {\n#if TALLY_EXTRA_OUTPUT\n// Enable interal led for program trigger\npinMode(led_pro... | JavaScript | MIT License | josephdadams/tallyarbiter | Update m5stickc-listener.ino
Fix internal LED (LOW/HIGH were reversed) |
331,610 | 13.10.2022 00:44:56 | 14,400 | cce08661560705379e65a210dc4f028e9998125c | Update build-listener-clients.yaml
Arduino compilation tests failing because WiFi.h can't find a file included with the Arduino ESP32 core library. I am going to try adding the Arduino ESP32 core library to the workflow and see if it helps. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build-listener-clients.yaml",
"new_path": ".github/workflows/build-listener-clients.yaml",
"diff": "@@ -17,6 +17,7 @@ jobs:\nlibraries: |\n- source-url: https://github.com/m5stack/M5StickC/archive/refs/tags/0.2.4.zip\n- source-url: https://gi... | JavaScript | MIT License | josephdadams/tallyarbiter | Update build-listener-clients.yaml
Arduino compilation tests failing because WiFi.h can't find a file included with the Arduino ESP32 core library. I am going to try adding the Arduino ESP32 core library to the workflow and see if it helps. |
331,610 | 13.10.2022 01:01:11 | 14,400 | a2272155eb60d9e8faeaccc5962c113991fef45e | Adds endif back to line 636 | [
{
"change_type": "MODIFY",
"old_path": "listener_clients/m5stickc-listener/m5stickc-listener.ino",
"new_path": "listener_clients/m5stickc-listener/m5stickc-listener.ino",
"diff": "@@ -633,6 +633,8 @@ void evaluateMode() {\ndigitalWrite (led_preview, HIGH);\ndigitalWrite (led_aux, HIGH);\n}\n+ #endif... | JavaScript | MIT License | josephdadams/tallyarbiter | Adds endif back to line 636 |
331,609 | 14.10.2022 21:22:11 | 0 | e8160a0f1275ec3c968209c01f35c771a8b99fe0 | Fix Dockerfile and remove Dockerfile.standalone | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "@@ -6,7 +6,9 @@ COPY ui-dist /app/ui-dist\nRUN apk add --update nodejs npm \\\n&& apk add --no-cache --virtual .build-deps alpine-sdk python3 \\\n&& npm install node-gyp -g \\\n- && npm i --ignore-script --only=p... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix Dockerfile and remove Dockerfile.standalone |
331,609 | 19.10.2022 22:10:03 | 0 | f228523da908d665d70a6e56400e200d560d9da1 | Downgrade packet to 0.0.6 | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "\"jspack\": \"^0.0.4\",\n\"obs-websocket-js\": \"^4.0.3\",\n\"osc\": \"^2.4.3\",\n- \"packet\": \"0.0.7\",\n+ \"packet\": \"0.0.6\",\n\"rate-limiter-flexible\": \"^2.3.7\",\n\"reflect-metadata\": \"... | JavaScript | MIT License | josephdadams/tallyarbiter | Downgrade packet to 0.0.6 |
331,609 | 20.10.2022 22:53:39 | -7,200 | de15184930beb4bbbb07d80e23870863cb3abf80 | Don't generate error report if devmode enabled | [
{
"change_type": "MODIFY",
"old_path": "src/index.ts",
"new_path": "src/index.ts",
"diff": "@@ -2481,6 +2481,7 @@ function SendMessage(type: string, socketid: string | null, message: string) {\n}\nfunction generateAndSendErrorReport(error: Error) {\n+ if(devmode) return;\nif(Sentry !== undefined) Se... | JavaScript | MIT License | josephdadams/tallyarbiter | Don't generate error report if devmode enabled |
331,609 | 20.10.2022 22:54:05 | -7,200 | 547bc76433d3c34f9f872172d208f305d8c81cdb | Fix delete every error report | [
{
"change_type": "MODIFY",
"old_path": "src/_helpers/errorReports.ts",
"new_path": "src/_helpers/errorReports.ts",
"diff": "@@ -110,5 +110,5 @@ export function deleteEveryErrorReport() {\nconst ErrorReportsFolder = path.join(process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '... | JavaScript | MIT License | josephdadams/tallyarbiter | Fix delete every error report |
331,613 | 21.12.2022 13:28:28 | -25,200 | bc591bc46865388a59a006fe394be82f8bdd02d7 | add enable/disable chat options to tally view | [
{
"change_type": "MODIFY",
"old_path": "UI/src/app/_components/tally/tally.component.html",
"new_path": "UI/src/app/_components/tally/tally.component.html",
"diff": "<option [value]=\"device.id\" *ngFor=\"let device of socketService.devices\">{{device.name}}</option>\n</select>\n</div>\n+ <div class... | JavaScript | MIT License | josephdadams/tallyarbiter | add enable/disable chat options to tally view |
331,613 | 21.12.2022 13:39:25 | -25,200 | c61777ad56559c6dbfa7f7b20f95b55d273557d3 | use device name instead of client only on chat | [
{
"change_type": "MODIFY",
"old_path": "UI/src/app/_components/chat/chat.component.ts",
"new_path": "UI/src/app/_components/chat/chat.component.ts",
"diff": "@@ -8,7 +8,7 @@ import { SocketService } from 'src/app/_services/socket.service';\n})\nexport class ChatComponent {\npublic message = \"\";\n-... | JavaScript | MIT License | josephdadams/tallyarbiter | use device name instead of client only on chat |
154,212 | 30.10.2017 15:27:20 | -32,400 | f28148228c116b4aa0615db06ca3526e36bd85a2 | fix for removing apg and half gaussian | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/__init__.py",
"new_path": "machina/algos/__init__.py",
"diff": "-from . import ppo_clip, trpo, apg, vpg, ppo_kl\n+from . import ppo_clip, trpo, vpg, ppo_kl\n"
},
{
"change_type": "MODIFY",
"old_path": "machina/pols/__init__.py",
"... | Python | MIT License | deepx-inc/machina | fix for removing apg and half gaussian |
154,212 | 03.11.2017 12:42:57 | -32,400 | d1fa223dc0bac605fab8448f54a3d8023ecc6521 | normalize advantage function if advantage function exists in paths | [
{
"change_type": "MODIFY",
"old_path": "machina/data/gae_data.py",
"new_path": "machina/data/gae_data.py",
"diff": "@@ -30,6 +30,7 @@ class GAEData(BaseData):\nfor new_key in new_keys:\nself.data_map[new_key] = np.concatenate([path[key][new_key] for path in self.paths], axis=0)\nif centerize:\n+ if ... | Python | MIT License | deepx-inc/machina | normalize advantage function if advantage function exists in paths |
154,212 | 06.11.2017 11:59:53 | -32,400 | 26dcd5fa9e926818c2726826c5d1e9343d1c2506 | arrange files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "README.md",
"diff": "+# machina\n+\n+This repository is PyTorch based Reinforcement Learning Library for real world environment.\n+\n+## install\n+\n+```\n+git clone https://github.com/DeepX-inc/machina.git\n+cd ./machina\n+pip install -e .\n+``... | Python | MIT License | deepx-inc/machina | arrange files |
154,212 | 06.11.2017 13:42:46 | -32,400 | d5797bbcccb28eb111d1f1316a06da6f6af9f6e4 | improve example file | [
{
"change_type": "MODIFY",
"old_path": "example/run_sac.py",
"new_path": "example/run_sac.py",
"diff": "@@ -36,6 +36,7 @@ parser.add_argument('--max_data_size', type=int, default=1000000)\nparser.add_argument('--min_data_size', type=int, default=10000)\nparser.add_argument('--max_samples_per_iter', ... | Python | MIT License | deepx-inc/machina | improve example file |
154,212 | 09.11.2017 21:16:28 | -32,400 | ac6a65669d56b5e26bbdbd3da3313ed41106fd50 | fix prepro_with_update | [
{
"change_type": "MODIFY",
"old_path": "machina/prepro/base.py",
"new_path": "machina/prepro/base.py",
"diff": "@@ -22,8 +22,8 @@ class BasePrePro(object):\ndef prepro_with_update(self, ob):\nif self.normalize_ob:\n- ob = (ob - self.ob_rm) / (np.sqrt(self.ob_rv) + 1e-8)\nself.update_ob_rms(ob)\n+ ob... | Python | MIT License | deepx-inc/machina | fix prepro_with_update |
154,212 | 09.11.2017 21:35:50 | -32,400 | 649349be65a38b73d870a830f40e0a14e58189e5 | add cpu mode for sampler | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/batch.py",
"new_path": "machina/samplers/batch.py",
"diff": "+import copy\nimport numpy as np\nimport torch\n-from ..utils import Variable\n+from ..utils import Variable, cpu_mode\nfrom .base import BaseSampler\n@@ -42,11 +43,14 @@ class Batch... | Python | MIT License | deepx-inc/machina | add cpu mode for sampler |
154,212 | 10.11.2017 11:23:55 | -32,400 | e59eac3859f165263759700561c3f33a02fbae5a | add measure code to run_sac | [
{
"change_type": "MODIFY",
"old_path": "example/run_sac.py",
"new_path": "example/run_sac.py",
"diff": "@@ -21,6 +21,7 @@ from machina.envs import GymEnv\nfrom machina.data import ReplayData\nfrom machina.samplers import BatchSampler\nfrom machina.misc import logger\n+from machina.utils import set_g... | Python | MIT License | deepx-inc/machina | add measure code to run_sac |
154,212 | 10.11.2017 11:24:32 | -32,400 | e4d8245d8c841f37f07958eca95f2640941be3f1 | add measure code with with statement | [
{
"change_type": "MODIFY",
"old_path": "machina/utils.py",
"new_path": "machina/utils.py",
"diff": "import contextlib\nimport torch.autograd as autograd\n+from .misc import logger\n# default gpu_id is -1.\n# this means using cpu\n@@ -18,6 +19,14 @@ def cpu_mode():\nyield\ngpu_id = _gpu_id\n+@context... | Python | MIT License | deepx-inc/machina | add measure code with with statement |
154,206 | 12.11.2017 19:06:53 | -32,400 | 2031af20ecdd7315a31f42f8753b2d0fa3147f4c | add Batch Normalization
add Batch Normalization to PolNet VNet QNet | [
{
"change_type": "MODIFY",
"old_path": "example/net.py",
"new_path": "example/net.py",
"diff": "@@ -68,5 +68,59 @@ class QNet(nn.Module):\nh = F.relu(self.fc2(h))\nreturn self.output_layer(h)\n+class PolNet_BN(nn.Module):\n+ def __init__(self, ob_space, ac_space):\n+ nn.Module.__init__(self)\n+ self... | Python | MIT License | deepx-inc/machina | add Batch Normalization
add Batch Normalization to PolNet VNet QNet |
154,206 | 17.11.2017 21:17:22 | -32,400 | c71e00c3952e4f9c4890c1a397fc9fb184443465 | add noise reset | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -45,7 +45,7 @@ parser.add_argument('--batch_type', type=str, choices=['large', 'small'], defaul\nparser.add_argument('--tau', type=float, default=0.001)\nparser.add_argument('--gamma', type=f... | Python | MIT License | deepx-inc/machina | add noise reset |
154,206 | 18.11.2017 01:01:18 | -32,400 | e19b289a03a81115b45937bc98ea31c086cb7176 | fix action noise | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/deterministic_ounoise_pol.py",
"new_path": "machina/pols/deterministic_ounoise_pol.py",
"diff": "@@ -43,7 +43,7 @@ class DeterministicOUNoisePol(BasePol):\ndef forward(self, obs):\nmean = self.net(obs)\naction_noise = self.noise()\n- ac = mean + V... | Python | MIT License | deepx-inc/machina | fix action noise |
154,206 | 18.11.2017 02:14:43 | -32,400 | 9d054b5fa309fecea1969771a637f40623a4f840 | not know what type action_noise should be | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/deterministic_ounoise_pol.py",
"new_path": "machina/pols/deterministic_ounoise_pol.py",
"diff": "@@ -26,7 +26,7 @@ class OrnsteinUhlenbeckActionNoise(ActionNoise):\nif self.x0 is not None:\nself.x_prev = self.x0\nelse:\n- self.x_prev = np.zeros_li... | Python | MIT License | deepx-inc/machina | not know what type action_noise should be |
154,206 | 18.11.2017 02:19:18 | -32,400 | 66ebc9c15b305b8df0b1abd92a50242c544e3602 | not know what kind action noise should be | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/deterministic_ounoise_pol.py",
"new_path": "machina/pols/deterministic_ounoise_pol.py",
"diff": "@@ -43,7 +43,7 @@ class DeterministicOUNoisePol(BasePol):\ndef forward(self, obs):\nmean = self.net(obs)\naction_noise = self.noise()\n- ac = mean + a... | Python | MIT License | deepx-inc/machina | not know what kind action noise should be |
154,206 | 23.11.2017 17:41:28 | -32,400 | 96778b1a6ec2fb6bd005ba5f254ddeefd8a20335 | fix type and inplace | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -12,7 +12,7 @@ import gym\nimport pybullet_envs\nimport machina as mc\n-from machina.pols import DeterministicOUNoisePol, OrnsteinUhlenbeckActionNoise\n+from machina.pols import Deterministic... | Python | MIT License | deepx-inc/machina | fix type and inplace |
154,206 | 23.11.2017 17:58:55 | -32,400 | 36089aa224cfb063a6bbc008cf0fa7e38a5d03d0 | delete logstd | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -119,7 +119,7 @@ while args.max_episodes > total_epi:\nlogger.record_tabular(key, value)\nelif len(value) >= 1:\nlogger.record_tabular_misc_stat(key, value)\n- logger.record_tabular('PolLogSt... | Python | MIT License | deepx-inc/machina | delete logstd |
154,206 | 23.11.2017 19:49:49 | -32,400 | 7f66744d28f685879e733b69606f9e271d417630 | fix name, use util, fix replaydata | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -89,7 +89,7 @@ prepro = BasePrePro(ob_space)\nsampler = BatchSampler(env)\noptim_pol = torch.optim.Adam(pol_net.parameters(), args.pol_lr)\noptim_qf = torch.optim.Adam(qf_net.parameters(), ar... | Python | MIT License | deepx-inc/machina | fix name, use util, fix replaydata |
154,212 | 24.11.2017 17:34:50 | -32,400 | 3aa26c9745cec51f87799baadedfc1ec514af1e1 | rewrite sampling scheme for speedup and add adamw | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/sac.py",
"new_path": "machina/algos/sac.py",
"diff": "@@ -7,8 +7,10 @@ def make_pol_loss(pol, qf, vf, batch, sampling):\nobs = Variable(torch.from_numpy(batch['obs']).float())\npol_loss = 0\n+ _, _, pd_params = pol(obs)\n+ means, log_stds = pd_pa... | Python | MIT License | deepx-inc/machina | rewrite sampling scheme for speedup and add adamw |
154,206 | 24.11.2017 21:17:43 | -32,400 | af77010904acd547c3dd95cc900ab7b447c41efd | filename option | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -66,7 +66,7 @@ torch.manual_seed(args.seed)\nif args.roboschool:\nimport roboschool\n-logger.add_tabular_output(os.path.join(args.log, args.log_filename + '.csv'))\n+logger.add_tabular_output... | Python | MIT License | deepx-inc/machina | filename option |
154,206 | 29.11.2017 17:05:16 | -32,400 | bc169e43afc3328259a71c14bcf63a00c6f0a5d2 | plus with sentense | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -111,7 +111,7 @@ while args.max_episodes > total_epi:\ntotal_step += step\noff_data.add_paths(paths)\n-\n+ with measure():\nresult_dict = ddpg.train(\noff_data,\npol, targ_pol, qf, targ_qf,\n... | Python | MIT License | deepx-inc/machina | plus with sentense |
154,206 | 01.12.2017 02:11:07 | -32,400 | 689a8deac877ed6fd95e5952dd3dcd629b51fc56 | make network size large | [
{
"change_type": "MODIFY",
"old_path": "example/net.py",
"new_path": "example/net.py",
"diff": "@@ -112,11 +112,11 @@ class PolNetBN(nn.Module):\nclass DeterministicPolNetBN(nn.Module):\ndef __init__(self, ob_space, ac_space):\nnn.Module.__init__(self)\n- self.fc1 = nn.Linear(ob_space.shape[0], 200)... | Python | MIT License | deepx-inc/machina | make network size large |
154,212 | 02.12.2017 06:57:40 | -32,400 | b4bb3f82058c762923c7fe2998ecc504aca4988e | change numpy to torch tensor in data | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/ppo_clip.py",
"new_path": "machina/algos/ppo_clip.py",
"diff": "@@ -4,13 +4,13 @@ from ..utils import Variable\nfrom ..misc import logger\ndef make_pol_loss(pol, batch, clip_param):\n- obs = Variable(torch.from_numpy(batch['obs']).float())\n- acs... | Python | MIT License | deepx-inc/machina | change numpy to torch tensor in data |
154,212 | 02.12.2017 07:13:12 | -32,400 | 1026fff2b81f94196131b258a8fb174d0e7d0ec9 | add gpu argument to run_svg.py | [
{
"change_type": "MODIFY",
"old_path": "example/run_svg.py",
"new_path": "example/run_svg.py",
"diff": "@@ -20,6 +20,7 @@ from machina.envs import GymEnv\nfrom machina.data import ReplayData, GAEData\nfrom machina.samplers import BatchSampler\nfrom machina.misc import logger\n+from machina.utils imp... | Python | MIT License | deepx-inc/machina | add gpu argument to run_svg.py |
154,212 | 02.12.2017 07:23:58 | -32,400 | 90fe7e7bcf4450199236895856c475b828a4a52a | add measure to run_svg.py | [
{
"change_type": "MODIFY",
"old_path": "example/run_svg.py",
"new_path": "example/run_svg.py",
"diff": "@@ -91,6 +91,7 @@ total_step = 0\nmax_rew = -1e6\noff_data = ReplayData(args.max_data_size, ob_space.shape[0], ac_space.shape[0])\nwhile args.max_episodes > total_epi:\n+ with measure('sample'):\n... | Python | MIT License | deepx-inc/machina | add measure to run_svg.py |
154,206 | 07.12.2017 13:52:35 | -32,400 | 1bbd0b5b6bb961f73eaa0b2e8467cb3412f8cc78 | original paper hyperparams | [
{
"change_type": "MODIFY",
"old_path": "example/net.py",
"new_path": "example/net.py",
"diff": "@@ -41,9 +41,9 @@ class PolNet(nn.Module):\nclass DeterministicPolNet(nn.Module):\ndef __init__(self, ob_space, ac_space):\nnn.Module.__init__(self)\n- self.fc1 = nn.Linear(ob_space.shape[0], 200)\n- self... | Python | MIT License | deepx-inc/machina | original paper hyperparams |
154,206 | 07.12.2017 14:40:06 | -32,400 | 70f99821f83adcc2aba9c70ce9d08114c49ce270 | add args hidden_layer | [
{
"change_type": "MODIFY",
"old_path": "example/net.py",
"new_path": "example/net.py",
"diff": "@@ -38,12 +38,12 @@ class PolNet(nn.Module):\n#log_std = self.log_std_layer(h)\nreturn mean, self.log_std_param\n-class DeterministicPolNet(nn.Module):\n+class DeterministicPolNet(nn.Module, hidden_layer1... | Python | MIT License | deepx-inc/machina | add args hidden_layer |
154,206 | 07.12.2017 14:43:33 | -32,400 | 51cf4db41a22249954f0966f550e97ef833da2b9 | fix bug about value | [
{
"change_type": "MODIFY",
"old_path": "example/net.py",
"new_path": "example/net.py",
"diff": "@@ -38,8 +38,8 @@ class PolNet(nn.Module):\n#log_std = self.log_std_layer(h)\nreturn mean, self.log_std_param\n-class DeterministicPolNet(nn.Module, hidden_layer1, hidden_layer2):\n- def __init__(self, ob... | Python | MIT License | deepx-inc/machina | fix bug about value |
154,212 | 08.12.2017 18:30:32 | -32,400 | 5132b5ac7d65836283920227a716e407115c1ab3 | fix sac's randn to use torch2torch | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/sac.py",
"new_path": "machina/algos/sac.py",
"diff": "import torch\nimport torch.nn as nn\n-from machina.utils import Variable\n+from machina.utils import Variable, torch2torch\nfrom machina.misc import logger\ndef make_pol_loss(pol, qf, vf, batc... | Python | MIT License | deepx-inc/machina | fix sac's randn to use torch2torch |
154,212 | 12.01.2018 01:09:55 | -32,400 | 4b89653aa204dcf06133c5671b7d798e25aefdb3 | add option to switch normalize or not for vfunc | [
{
"change_type": "MODIFY",
"old_path": "example/run_trpo.py",
"new_path": "example/run_trpo.py",
"diff": "@@ -14,7 +14,7 @@ import machina as mc\nfrom machina.pols import GaussianPol\nfrom machina.algos import trpo\nfrom machina.prepro import BasePrePro\n-from machina.vfuncs import NormalizedDetermi... | Python | MIT License | deepx-inc/machina | add option to switch normalize or not for vfunc |
154,206 | 25.02.2018 20:43:05 | -32,400 | c2be1f1036b2d8f02a903767b3c2f02d13def81a | fix deterministicpol
if self.noise is None, previous versino doesnt work | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/deterministic_ounoise_pol.py",
"new_path": "machina/pols/deterministic_ounoise_pol.py",
"diff": "@@ -44,7 +44,10 @@ class DeterministicPol(BasePol):\ndef forward(self, obs):\nmean = self.net(obs)\n+ if self.noise is not None:\naction_noise = self.... | Python | MIT License | deepx-inc/machina | fix deterministicpol
if self.noise is None, previous versino doesnt work |
154,212 | 08.03.2018 12:55:02 | -32,400 | d0e5922bf0af9dba01b2546faccefec9495e45c4 | add xlim and ylim to plot_scores | [
{
"change_type": "MODIFY",
"old_path": "machina/misc/plot_scores.py",
"new_path": "machina/misc/plot_scores.py",
"diff": "@@ -25,7 +25,7 @@ def _check_available():\ndef plot_scores(filename, key, x_key, label=None, title=None,\ncolor=None, result_directory=None,\n- plot_legend=True,\n+ plot_legend=T... | Python | MIT License | deepx-inc/machina | add xlim and ylim to plot_scores |
154,212 | 09.03.2018 11:56:04 | -32,400 | f0181419ca2e731d5a4e09da3f1242bd172c7af0 | add kwargs to plot in result | [
{
"change_type": "MODIFY",
"old_path": "machina/misc/logger.py",
"new_path": "machina/misc/logger.py",
"diff": "@@ -341,7 +341,7 @@ def record_results(log_dir, result_dict, score_file,\ntotal_epi,\nstep, total_step,\nrewards=None,\n- plot_title=None):\n+ plot_title=None, **plot_kwargs):\nlog(\"outdi... | Python | MIT License | deepx-inc/machina | add kwargs to plot in result |
154,206 | 09.03.2018 21:28:54 | -32,400 | 56122b9652924a21b167388590c8049a3393ee4f | fix reset of deterministic_pol | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/deterministic_ounoise_pol.py",
"new_path": "machina/pols/deterministic_ounoise_pol.py",
"diff": "@@ -40,7 +40,10 @@ class DeterministicPol(BasePol):\nself.apply_noise = apply_noise\ndef reset(self):\n+ if self.noise is not None:\nself.noise.reset(... | Python | MIT License | deepx-inc/machina | fix reset of deterministic_pol |
154,212 | 07.04.2018 16:14:13 | -32,400 | e67ab45d6072c2af15aada28f4ae01b101e63cff | fix gaussian pd | [
{
"change_type": "MODIFY",
"old_path": "machina/pds/gaussian_pd.py",
"new_path": "machina/pds/gaussian_pd.py",
"diff": "@@ -10,7 +10,7 @@ class GaussianPd(BasePd):\ndef sample(self, params):\nmean, log_std = params['mean'], params['log_std']\n- ac = mean + Variable(mean.new(*mean.shape).normal_()) *... | Python | MIT License | deepx-inc/machina | fix gaussian pd |
154,212 | 09.04.2018 18:32:18 | -32,400 | 711c5e2f1a8dbb75aabfe8b1d7a05667c3db8c98 | add scaled mean | [
{
"change_type": "MODIFY",
"old_path": "machina/pols/base.py",
"new_path": "machina/pols/base.py",
"diff": "+import numpy as np\nimport torch\nimport torch.nn as nn\nfrom torch.autograd import Variable\n@@ -9,3 +10,13 @@ class BasePol(nn.Module):\nself.ac_space = ac_space\nself.normalize_ac = normal... | Python | MIT License | deepx-inc/machina | add scaled mean |
154,212 | 10.04.2018 21:33:26 | -32,400 | f73fd6834f997c6e7c09d9ac0ccd10dadc8d328e | skip update if shs is negative | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/trpo.py",
"new_path": "machina/algos/trpo.py",
"diff": "@@ -91,6 +91,9 @@ def update_pol(pol, batch, make_pol_loss=make_pol_loss, make_kl=make_kl, max_kl=\nstepdir = conjugate_gradients(Fvp, -flat_pol_loss_grad, num_cg)\nshs = 0.5 * torch.sum(ste... | Python | MIT License | deepx-inc/machina | skip update if shs is negative |
154,206 | 23.04.2018 22:17:50 | -32,400 | 764eb00a2ee09468aeaaf8fc6d2770d19796e77e | write code of per | [
{
"change_type": "MODIFY",
"old_path": "machina/data/Prioritized Experience Replay.py",
"new_path": "machina/data/Prioritized Experience Replay.py",
"diff": "@@ -3,7 +3,6 @@ import torch\nfrom machina.data.base import BaseData\nfrom machina.utils import np2torch, torch2torch\n-from scipy.stats impor... | Python | MIT License | deepx-inc/machina | write code of per |
154,206 | 24.04.2018 12:34:19 | -32,400 | 111888d78b60d36c7fa3c0747ebd936027c75b91 | priorized replay data | [
{
"change_type": "RENAME",
"old_path": "machina/data/Prioritized Experience Replay.py",
"new_path": "machina/data/prioritized_replay_data.py",
"diff": "@@ -53,13 +53,13 @@ class PrioritizedReplayData(BaseData):\ntransition_indices = torch2torch(torch.zeros(batch_size)).long()\ncount = 0\nsum_delta =... | Python | MIT License | deepx-inc/machina | priorized replay data |
154,206 | 24.04.2018 15:15:35 | -32,400 | 1505eecfb51747dd28b046fcbb49ef2122a6b848 | import prioritized replay data | [
{
"change_type": "MODIFY",
"old_path": "machina/data/__init__.py",
"new_path": "machina/data/__init__.py",
"diff": "from machina.data.base import BaseData\nfrom machina.data.gae_data import GAEData\nfrom machina.data.replay_data import ReplayData\n+from machina.data.prioritized_replay_data import Pr... | Python | MIT License | deepx-inc/machina | import prioritized replay data |
154,206 | 07.05.2018 18:17:26 | -32,400 | 14ca42432ebeaed9709da706671439b88bc233ce | make path dir | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -129,8 +129,9 @@ while args.max_episodes > total_epi:\ncount += 1\nobs_arr=np.asarray(obs_list).reshape((int(total_step/count) , ob_space.shape[0]))\nacs_arr=np.asarray(acs_list).reshape((int... | Python | MIT License | deepx-inc/machina | make path dir |
154,206 | 23.05.2018 17:52:49 | -32,400 | 1b89db35f5a8c91bcbfe46a6b4930daaffda1272 | change supersied iterate | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/behavior_cloning.py",
"new_path": "machina/algos/behavior_cloning.py",
"diff": "@@ -14,11 +14,9 @@ def make_pol_loss(pol, transition_model, batch):\ndef train_only_pol(expert_data,\npol, transition_model,\noptim_pol,\n- epoch_pol, batch_size, log... | Python | MIT License | deepx-inc/machina | change supersied iterate |
154,206 | 24.05.2018 10:52:50 | -32,400 | 383c316da1b901134cc16037ccf92ac3e4447657 | remove log from behavior_clonign.py | [
{
"change_type": "MODIFY",
"old_path": "example/run_behavior_cloning.py",
"new_path": "example/run_behavior_cloning.py",
"diff": "@@ -123,7 +123,7 @@ max_rew = -1e6\nfor current_epoch in range(args.epoch):\n- with measure('training_time'):\n+ with measure('training_time_per_epoch'):\nresult_dict = b... | Python | MIT License | deepx-inc/machina | remove log from behavior_clonign.py |
154,206 | 24.05.2018 11:53:09 | -32,400 | 3cc7b2bddbf1330aa7f111bcf345a9d2682386c2 | fix performance check | [
{
"change_type": "MODIFY",
"old_path": "example/run_behavior_cloning.py",
"new_path": "example/run_behavior_cloning.py",
"diff": "@@ -46,6 +46,8 @@ parser.add_argument('--max_data_size', type=int, default=1000000)\nparser.add_argument('--min_data_size', type=int, default=10000)\nparser.add_argument(... | Python | MIT License | deepx-inc/machina | fix performance check |
154,206 | 24.05.2018 16:04:49 | -32,400 | f3bee706441bf65a8aad0fc72784d9e0dcbc6776 | change how sample | [
{
"change_type": "MODIFY",
"old_path": "machina/data/expert_data.py",
"new_path": "machina/data/expert_data.py",
"diff": "@@ -15,15 +15,13 @@ class ExpertData(BaseData):\nself.num_of_traj = self.expert_data['obs'].shape[0]\nself.num_of_step = self.expert_data['obs'].shape[1]\n- def iterate(self, bat... | Python | MIT License | deepx-inc/machina | change how sample |
154,206 | 12.06.2018 16:51:46 | -32,400 | 951067b1dde36fba968b948ac9820834031366ff | delete savepath | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -105,11 +105,9 @@ off_data = ReplayData(max_data_size=args.max_data_size + 1, ob_dim=ob_space.shap\ntotal_epi = 0\ntotal_step = 0\nmax_rew = -1e6\n-obs_list = []\n-acs_list = []\n-rews_list =... | Python | MIT License | deepx-inc/machina | delete savepath |
154,214 | 26.06.2018 15:47:29 | -32,400 | f5ac369781c4e9930703de6661b1fea808621e8d | adding a simple description of algos | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/ppo_clip.py",
"new_path": "machina/algos/ppo_clip.py",
"diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n# ===========================================================================... | Python | MIT License | deepx-inc/machina | adding a simple description of algos |
154,206 | 23.07.2018 15:21:09 | -32,400 | 43cf102746d056892e6fc095d9c4bdc59d52e695 | add invariant batch | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/__init__.py",
"new_path": "machina/samplers/__init__.py",
"diff": "from machina.samplers.base import BaseSampler\n-from machina.samplers.batch import BatchSampler\n+from machina.samplers.batch import BatchSampler, InvariantBatchSampler\n"
},... | Python | MIT License | deepx-inc/machina | add invariant batch |
154,212 | 08.08.2018 19:34:19 | -32,400 | 9ab18964ec1600b5087bede0d9639c4af40734d0 | add parallel sampler | [
{
"change_type": "MODIFY",
"old_path": "example/run_ppo.py",
"new_path": "example/run_ppo.py",
"diff": "@@ -32,8 +32,9 @@ from machina.prepro import BasePrePro\nfrom machina.vfuncs import DeterministicVfunc\nfrom machina.envs import GymEnv\nfrom machina.data import GAEData\n-from machina.samplers im... | Python | MIT License | deepx-inc/machina | add parallel sampler |
154,206 | 13.08.2018 23:25:35 | -32,400 | cba0bdb3d411fec5bee763992ec3cf29e237e09a | fix deterministic polnet | [
{
"change_type": "MODIFY",
"old_path": "machina/nets/simple_net.py",
"new_path": "machina/nets/simple_net.py",
"diff": "@@ -59,11 +59,11 @@ class MixturePolNet(nn.Module):\nclass DeterministicPolNet(nn.Module):\n- def __init__(self, ob_space, ac_space, hidden_layer1, hidden_layer2):\n+ def __init__(... | Python | MIT License | deepx-inc/machina | fix deterministic polnet |
154,206 | 14.08.2018 03:26:19 | -32,400 | 82547611e17b470bbf21fd5c69aa92d9792f7b89 | add parallel sampler & fix logger | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "+# Copyright 2018 DeepX Inc. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n... | Python | MIT License | deepx-inc/machina | add parallel sampler & fix logger |
154,206 | 14.08.2018 03:27:06 | -32,400 | 0f0c8274c1d8d1dc7411399a945d95feb1b04b4e | change torch.functional.relu to torch.relu | [
{
"change_type": "MODIFY",
"old_path": "machina/nets/simple_net.py",
"new_path": "machina/nets/simple_net.py",
"diff": "@@ -72,7 +72,7 @@ class DeterministicPolNet(nn.Module):\ndef forward(self, ob):\nh = F.relu(self.fc1(ob))\nh = F.relu(self.fc2(h))\n- mean = F.tanh(self.mean_layer(h))\n+ mean = to... | Python | MIT License | deepx-inc/machina | change torch.functional.relu to torch.relu |
154,206 | 14.08.2018 04:28:23 | -32,400 | 627810c5c45a6fd6316e7fa1b03be988e2482316 | Add args of size of replaydata | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -48,6 +48,8 @@ parser.add_argument('--seed', type=int, default=256)\nparser.add_argument('--max_episodes', type=int, default=1000000)\nparser.add_argument('--use_parallel_sampler', action='st... | Python | MIT License | deepx-inc/machina | Add args of size of replaydata |
154,206 | 14.08.2018 04:30:49 | -32,400 | 80a90add6f691e953c58238f70221d6c599ef06a | fix place of 'step' | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -125,6 +125,11 @@ while args.max_episodes > total_epi:\npaths = sampler.sample(pol, args.max_samples_per_iter, args.max_episodes_per_iter)\noff_data.add_paths(paths)\n+ epi = len(paths)\n+ to... | Python | MIT License | deepx-inc/machina | fix place of 'step' |
154,206 | 14.08.2018 05:17:21 | -32,400 | 0de0369c83ad6f753e8bcc80faca19ec3df9548e | remove bc & gail & per , temporarily | [
{
"change_type": "MODIFY",
"old_path": "example/run_behavior_cloning.py",
"new_path": "example/run_behavior_cloning.py",
"diff": "-import argparse\n-import copy\n-import json\n-import os\n-from pprint import pprint\n-import pickle\n-\n-import numpy as np\n-import torch\n-import torch.nn as nn\n-impo... | Python | MIT License | deepx-inc/machina | remove bc & gail & per , temporarily |
154,212 | 16.08.2018 11:11:56 | -32,400 | 0ba4b416bbfd901398961b9c63fdeec6894fd204 | call eval at sampling | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/batch.py",
"new_path": "machina/samplers/batch.py",
"diff": "@@ -45,6 +45,7 @@ class BatchSampler(BaseSampler):\ndef sample(self, pol, max_samples, max_episodes, prepro=None):\nsampling_pol = copy.deepcopy(pol)\nsampling_pol = sampling_pol.cpu... | Python | MIT License | deepx-inc/machina | call eval at sampling |
154,206 | 17.08.2018 16:59:05 | -32,400 | f21f8f9a7fcd0597790ddc9e093934eb3e2d5024 | remove args of apply_noise | [
{
"change_type": "MODIFY",
"old_path": "example/run_ddpg.py",
"new_path": "example/run_ddpg.py",
"diff": "@@ -58,13 +58,12 @@ parser.add_argument('--pol_lr', type=float, default=1e-4)\nparser.add_argument('--qf_lr', type=float, default=1e-3)\nparser.add_argument('--use_prepro', action='store_true', ... | Python | MIT License | deepx-inc/machina | remove args of apply_noise |
154,206 | 17.08.2018 17:35:58 | -32,400 | 3df6c2d793001bd2daca9e98664d41108b86813d | add data_make for IL | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -4,3 +4,4 @@ garbage\n*.swp\n*.npz\n+*.pkl\n"
},
{
"change_type": "MODIFY",
"old_path": "expert_traj/data_make.py",
"new_path": "expert_traj/data_make.py",
"diff": "@@ -14,17 +14,19 @@ from... | Python | MIT License | deepx-inc/machina | add data_make for IL |
154,206 | 17.08.2018 17:53:45 | -32,400 | 2022f647b7fbe2d275ddf41f2ef63e9738555342 | Delete data_make.py | [
{
"change_type": "DELETE",
"old_path": "expert_traj/data_make.py",
"new_path": null,
"diff": "-import torch\n-import argparse\n-import pickle\n-import gym\n-from gym.wrappers.monitoring import Monitor\n-\n-\n-import os\n-from machina.pols import DeterministicPol, GaussianPol\n-from machina.nets impo... | Python | MIT License | deepx-inc/machina | Delete data_make.py |
154,212 | 23.08.2018 13:48:24 | -32,400 | 6d0037a2ccea3668a33e632056f51d3ff9742cf6 | addition for rnn | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "example/run_ppo_vector.py",
"diff": "+# Copyright 2018 DeepX Inc. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obt... | Python | MIT License | deepx-inc/machina | addition for rnn |
154,212 | 23.08.2018 17:48:37 | -32,400 | 277545d7f786f1feaa204cde3c8d74bb54fc9956 | fix acs dimension | [
{
"change_type": "MODIFY",
"old_path": "example/run_ppo_vector.py",
"new_path": "example/run_ppo_vector.py",
"diff": "@@ -49,8 +49,9 @@ parser.add_argument('--cuda', type=int, default=-1)\nparser.add_argument('--max_samples_per_iter', type=int, default=2048)\nparser.add_argument('--epoch_per_iter', ... | Python | MIT License | deepx-inc/machina | fix acs dimension |
154,212 | 23.08.2018 18:45:58 | -32,400 | bcd320a1d3b11101c8ee39e7db478704b6d826f2 | add grad norm clipping | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/ppo_clip.py",
"new_path": "machina/algos/ppo_clip.py",
"diff": "@@ -45,10 +45,11 @@ def make_pol_loss(pol, batch, clip_param, ent_beta):\nreturn pol_loss\n-def update_pol(pol, optim_pol, batch, clip_param, ent_beta):\n+def update_pol(pol, optim_p... | Python | MIT License | deepx-inc/machina | add grad norm clipping |
154,212 | 24.08.2018 02:23:33 | -32,400 | 62f2bf1870aa76a3e5dcbadbc472c492b691cb92 | add multi gpu version | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "example/run_ppo_vector_multi.py",
"diff": "+# Copyright 2018 DeepX Inc. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You m... | Python | MIT License | deepx-inc/machina | add multi gpu version |
154,212 | 24.08.2018 10:27:58 | -32,400 | 5555e87c11a158d97568ce117911328e4ab84f0a | add distributed | [
{
"change_type": "MODIFY",
"old_path": "example/run_ppo_vector_multi.py",
"new_path": "example/run_ppo_vector_multi.py",
"diff": "@@ -34,6 +34,7 @@ from machina.envs import GymEnv\nfrom machina.data import GAEVectorData\nfrom machina.samplers import ParallelVectorSampler\nfrom machina.misc import lo... | Python | MIT License | deepx-inc/machina | add distributed |
154,212 | 24.08.2018 12:46:50 | -32,400 | 61c2ae39c2a1f645ed7db1a84557635ac4c7287b | add over time process in parallel vector sampler | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/parallel_vector.py",
"new_path": "machina/samplers/parallel_vector.py",
"diff": "import copy\n+import time\nimport numpy as np\nimport torch\nimport torch.multiprocessing as mp\nfrom machina.utils import cpu_mode\n+from machina.misc import log... | Python | MIT License | deepx-inc/machina | add over time process in parallel vector sampler |
154,212 | 24.08.2018 14:31:05 | -32,400 | d4a41ccb68b320824d5c909c1bf266602ebc28a3 | detach at batch end | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/parallel_vector.py",
"new_path": "machina/samplers/parallel_vector.py",
"diff": "@@ -34,6 +34,7 @@ def sample_process(pol, env, max_samples, paths, exec_flags, process_id, prepro=\na_is = []\ne_is = []\ninit_hs = hs\n+ hs = (hs[0].detach(), hs... | Python | MIT License | deepx-inc/machina | detach at batch end |
154,212 | 25.08.2018 23:30:10 | -32,400 | 2901cf3ea32107d3ed6c04df73aa2b1192a63219 | sync params after update | [
{
"change_type": "MODIFY",
"old_path": "machina/optims/distributed_adamw.py",
"new_path": "machina/optims/distributed_adamw.py",
"diff": "@@ -99,6 +99,15 @@ class DistributedAdamW(Optimizer):\np.data.add_(-group['weight_decay'], p.data)\np.data.addcdiv_(-step_size, exp_avg, denom)\n+ params = []\n+ ... | Python | MIT License | deepx-inc/machina | sync params after update |
154,212 | 29.08.2018 13:15:34 | -32,400 | 95375fd292a6dc3180cf1889e3d314166c965a7c | remove env seed | [
{
"change_type": "MODIFY",
"old_path": "machina/samplers/parallel_vector.py",
"new_path": "machina/samplers/parallel_vector.py",
"diff": "@@ -16,7 +16,6 @@ def sample_process(pol, env, max_samples, paths, exec_flags, process_id, prepro=\nnp.random.seed(seed + process_id)\ntorch.manual_seed(seed + pr... | Python | MIT License | deepx-inc/machina | remove env seed |
154,212 | 29.08.2018 20:58:33 | -32,400 | e093e29d8f41322e90804f4a659baf72c1925fa1 | make trpo for rnn | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/trpo.py",
"new_path": "machina/algos/trpo.py",
"diff": "@@ -73,7 +73,9 @@ def make_pol_loss(pol, batch, volatile=False):\nobs = batch['obs']\nacs = batch['acs']\nadvs = batch['advs']\n- _, _, pd_params = pol(obs)\n+ init_hs = batch['init_hs']\n+ ... | Python | MIT License | deepx-inc/machina | make trpo for rnn |
154,212 | 30.08.2018 09:28:16 | -32,400 | 6e4185a8e1e791b81f35c83ce4b77bead0e105a8 | change default argument and fix bug | [
{
"change_type": "MODIFY",
"old_path": "example/run_trpo_vector.py",
"new_path": "example/run_trpo_vector.py",
"diff": "@@ -46,9 +46,9 @@ parser.add_argument('--seed', type=int, default=256)\nparser.add_argument('--max_episodes', type=int, default=1000000)\nparser.add_argument('--num_parallel', type... | Python | MIT License | deepx-inc/machina | change default argument and fix bug |
154,212 | 30.08.2018 09:31:08 | -32,400 | 0f921674af5ab7fd1a7b8bafe4d5d158ec97b986 | fix vs learning | [
{
"change_type": "MODIFY",
"old_path": "machina/algos/trpo.py",
"new_path": "machina/algos/trpo.py",
"diff": "@@ -135,7 +135,8 @@ def make_vf_loss(vf, batch):\nrets = batch['rets']\ninit_hs = batch['init_hs']\nmasks = batch['dones']\n- vf_loss = 0.5 * torch.mean((vf(obs, init_hs, masks) - rets)**2)\... | Python | MIT License | deepx-inc/machina | fix vs learning |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.