serialexperimentsleon commited on
Commit
a23f213
·
verified ·
1 Parent(s): d37babb

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +85 -0
  2. h18xe90d/episode_rosbags/aligned_depth_to_color_K.npy +3 -0
  3. h18xe90d/episode_rosbags/cam_tf_world.npy +3 -0
  4. h18xe90d/episode_rosbags/color_K.npy +3 -0
  5. h18xe90d/episode_rosbags/depth_K.npy +3 -0
  6. h18xe90d/episode_rosbags/episode_6_2025-01-17-15-16-02.bag +3 -0
  7. h18xe90d/eval_robot.log +12 -0
  8. h18xe90d/eval_video/0_eval.mp4 +3 -0
  9. h18xe90d/eval_video/10_eval.mp4 +3 -0
  10. h18xe90d/eval_video/11_eval.mp4 +3 -0
  11. h18xe90d/eval_video/12_eval.mp4 +0 -0
  12. h18xe90d/eval_video/1_eval.mp4 +3 -0
  13. h18xe90d/eval_video/2_eval.mp4 +3 -0
  14. h18xe90d/eval_video/3_eval.mp4 +3 -0
  15. h18xe90d/eval_video/4_eval.mp4 +3 -0
  16. h18xe90d/eval_video/5_eval.mp4 +3 -0
  17. h18xe90d/eval_video/6_eval.mp4 +3 -0
  18. h18xe90d/eval_video/7_eval.mp4 +3 -0
  19. h18xe90d/eval_video/8_eval.mp4 +3 -0
  20. h18xe90d/eval_video/9_eval.mp4 +3 -0
  21. h18xe90d/tb/events.out.tfevents.1737144645.leonmkim-ROG-Strix-G15CS-G15CS.2520639.0 +3 -0
  22. h18xe90d/wandb/debug-internal.log +0 -0
  23. h18xe90d/wandb/debug.log +37 -0
  24. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/code/FISH/eval_robot.py +606 -0
  25. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/config.yaml +927 -0
  26. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/diff.patch +78 -0
  27. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/0_eval_0_98c68d418db5b73df1b0.mp4 +3 -0
  28. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/10_eval_10_dc26db5ffbb288ebf69b.mp4 +3 -0
  29. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/11_eval_11_f83167404e8bb0859778.mp4 +3 -0
  30. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/1_eval_1_fe99acb9f5fbe6b6c23e.mp4 +3 -0
  31. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/2_eval_2_a9b669c92c8beee6656c.mp4 +3 -0
  32. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/3_eval_3_2988eff819b475f13199.mp4 +3 -0
  33. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/4_eval_4_8487a970815421048be9.mp4 +3 -0
  34. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/5_eval_5_5eccb1be08111ca14e10.mp4 +3 -0
  35. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/6_eval_6_5f3fdb589a9c504e4946.mp4 +3 -0
  36. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/7_eval_7_eab2215188c302c460ba.mp4 +3 -0
  37. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/8_eval_8_50d0e7e81a609c529244.mp4 +3 -0
  38. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/9_eval_9_9a2233becb7986a47e63.mp4 +3 -0
  39. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/video_12_25445a41b5bbda0ed7e2.mp4 +0 -0
  40. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/output.log +624 -0
  41. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/requirements.txt +340 -0
  42. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/upstream_diff_0f018502ce3c0d2ad4dfb21f3d7778b9e3db3a78.patch +95 -0
  43. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/wandb-metadata.json +92 -0
  44. h18xe90d/wandb/run-20250117_151044-h18xe90d/files/wandb-summary.json +1 -0
  45. h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug-internal.log +0 -0
  46. h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug.log +37 -0
  47. h18xe90d/wandb/run-20250117_151044-h18xe90d/run-h18xe90d.wandb +3 -0
  48. odxnffav/episode_rosbags/episode_0_2025-01-17-14-30-16.bag +3 -0
  49. odxnffav/episode_rosbags/episode_12_2025-01-17-14-39-07.bag +3 -0
  50. odxnffav/episode_rosbags/episode_14_2025-01-17-14-40-42.bag +3 -0
.gitattributes CHANGED
@@ -211,3 +211,88 @@ vfeb54wi/episode_rosbags/episode_8_2025-01-15-21-32-40.bag filter=lfs diff=lfs m
211
  odxnffav/episode_rosbags/episode_2_2025-01-17-14-31-51.bag filter=lfs diff=lfs merge=lfs -text
212
  odxnffav/episode_rosbags/episode_13_2025-01-17-14-39-56.bag filter=lfs diff=lfs merge=lfs -text
213
  vfeb54wi/episode_rosbags/episode_0_2025-01-15-21-26-31.bag filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  odxnffav/episode_rosbags/episode_2_2025-01-17-14-31-51.bag filter=lfs diff=lfs merge=lfs -text
212
  odxnffav/episode_rosbags/episode_13_2025-01-17-14-39-56.bag filter=lfs diff=lfs merge=lfs -text
213
  vfeb54wi/episode_rosbags/episode_0_2025-01-15-21-26-31.bag filter=lfs diff=lfs merge=lfs -text
214
+ roatk2bk/episode_rosbags/episode_17_2025-01-15-22-02-19.bag filter=lfs diff=lfs merge=lfs -text
215
+ roatk2bk/episode_rosbags/episode_9_2025-01-15-21-52-35.bag filter=lfs diff=lfs merge=lfs -text
216
+ odxnffav/episode_rosbags/episode_14_2025-01-17-14-40-42.bag filter=lfs diff=lfs merge=lfs -text
217
+ roatk2bk/episode_rosbags/episode_15_2025-01-15-22-00-06.bag filter=lfs diff=lfs merge=lfs -text
218
+ roatk2bk/episode_rosbags/episode_10_2025-01-15-21-53-06.bag filter=lfs diff=lfs merge=lfs -text
219
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/run-roatk2bk.wandb filter=lfs diff=lfs merge=lfs -text
220
+ roatk2bk/episode_rosbags/episode_4_2025-01-15-21-48-45.bag filter=lfs diff=lfs merge=lfs -text
221
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/1_eval_1_b5d7870b7b04a6ef485f.mp4 filter=lfs diff=lfs merge=lfs -text
222
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/2_eval_2_f98c31cd2e05324cffd8.mp4 filter=lfs diff=lfs merge=lfs -text
223
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/12_eval_12_241be90b3f1c54884e79.mp4 filter=lfs diff=lfs merge=lfs -text
224
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/15_eval_15_76fa4e81e9e73fef9cf0.mp4 filter=lfs diff=lfs merge=lfs -text
225
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/16_eval_16_5019757f76965e10782b.mp4 filter=lfs diff=lfs merge=lfs -text
226
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/8_eval_8_fb8f14c1c353cc80983a.mp4 filter=lfs diff=lfs merge=lfs -text
227
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/5_eval_5_a69fcdfd49e2066116b6.mp4 filter=lfs diff=lfs merge=lfs -text
228
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/0_eval_0_2eb6cf19687a4fabfe3c.mp4 filter=lfs diff=lfs merge=lfs -text
229
+ roatk2bk/episode_rosbags/episode_0_2025-01-15-21-46-03.bag filter=lfs diff=lfs merge=lfs -text
230
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/6_eval_6_ae418a6c99a51b4201d6.mp4 filter=lfs diff=lfs merge=lfs -text
231
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/10_eval_10_6e43fe2801f3a905e582.mp4 filter=lfs diff=lfs merge=lfs -text
232
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/14_eval_14_074bdfc80a4a9d765f98.mp4 filter=lfs diff=lfs merge=lfs -text
233
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/18_eval_18_c8c84019c8dc8ba0e4ea.mp4 filter=lfs diff=lfs merge=lfs -text
234
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/17_eval_17_2f96b121fd6f99c60674.mp4 filter=lfs diff=lfs merge=lfs -text
235
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/3_eval_3_89821fb09b372630838b.mp4 filter=lfs diff=lfs merge=lfs -text
236
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/4_eval_4_9fb52356d0a213033cfe.mp4 filter=lfs diff=lfs merge=lfs -text
237
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/13_eval_13_cb3449f02cfc7cf55b8d.mp4 filter=lfs diff=lfs merge=lfs -text
238
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/7_eval_7_f02cea2dbceefebb3b97.mp4 filter=lfs diff=lfs merge=lfs -text
239
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/9_eval_9_19795df8831a10c10837.mp4 filter=lfs diff=lfs merge=lfs -text
240
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/19_eval_19_3f737e19fed74dd298b2.mp4 filter=lfs diff=lfs merge=lfs -text
241
+ roatk2bk/wandb/run-20250115_214512-roatk2bk/files/media/videos/eval/11_eval_11_4263c7dc48b07a1c552c.mp4 filter=lfs diff=lfs merge=lfs -text
242
+ roatk2bk/eval_video/3_eval.mp4 filter=lfs diff=lfs merge=lfs -text
243
+ roatk2bk/eval_video/19_eval.mp4 filter=lfs diff=lfs merge=lfs -text
244
+ roatk2bk/eval_video/8_eval.mp4 filter=lfs diff=lfs merge=lfs -text
245
+ roatk2bk/eval_video/12_eval.mp4 filter=lfs diff=lfs merge=lfs -text
246
+ roatk2bk/eval_video/4_eval.mp4 filter=lfs diff=lfs merge=lfs -text
247
+ roatk2bk/eval_video/7_eval.mp4 filter=lfs diff=lfs merge=lfs -text
248
+ roatk2bk/eval_video/13_eval.mp4 filter=lfs diff=lfs merge=lfs -text
249
+ roatk2bk/eval_video/18_eval.mp4 filter=lfs diff=lfs merge=lfs -text
250
+ roatk2bk/eval_video/9_eval.mp4 filter=lfs diff=lfs merge=lfs -text
251
+ odxnffav/episode_rosbags/episode_12_2025-01-17-14-39-07.bag filter=lfs diff=lfs merge=lfs -text
252
+ roatk2bk/eval_video/11_eval.mp4 filter=lfs diff=lfs merge=lfs -text
253
+ roatk2bk/eval_video/15_eval.mp4 filter=lfs diff=lfs merge=lfs -text
254
+ roatk2bk/eval_video/6_eval.mp4 filter=lfs diff=lfs merge=lfs -text
255
+ roatk2bk/eval_video/1_eval.mp4 filter=lfs diff=lfs merge=lfs -text
256
+ roatk2bk/eval_video/5_eval.mp4 filter=lfs diff=lfs merge=lfs -text
257
+ roatk2bk/eval_video/16_eval.mp4 filter=lfs diff=lfs merge=lfs -text
258
+ roatk2bk/eval_video/10_eval.mp4 filter=lfs diff=lfs merge=lfs -text
259
+ roatk2bk/eval_video/2_eval.mp4 filter=lfs diff=lfs merge=lfs -text
260
+ roatk2bk/eval_video/0_eval.mp4 filter=lfs diff=lfs merge=lfs -text
261
+ roatk2bk/eval_video/14_eval.mp4 filter=lfs diff=lfs merge=lfs -text
262
+ roatk2bk/eval_video/17_eval.mp4 filter=lfs diff=lfs merge=lfs -text
263
+ odxnffav/episode_rosbags/episode_9_2025-01-17-14-36-55.bag filter=lfs diff=lfs merge=lfs -text
264
+ odxnffav/episode_rosbags/episode_7_2025-01-17-14-35-26.bag filter=lfs diff=lfs merge=lfs -text
265
+ roatk2bk/episode_rosbags/episode_5_2025-01-15-21-49-16.bag filter=lfs diff=lfs merge=lfs -text
266
+ roatk2bk/episode_rosbags/episode_11_2025-01-15-21-53-40.bag filter=lfs diff=lfs merge=lfs -text
267
+ roatk2bk/episode_rosbags/episode_14_2025-01-15-21-56-03.bag filter=lfs diff=lfs merge=lfs -text
268
+ roatk2bk/episode_rosbags/episode_8_2025-01-15-21-51-45.bag filter=lfs diff=lfs merge=lfs -text
269
+ odxnffav/episode_rosbags/episode_0_2025-01-17-14-30-16.bag filter=lfs diff=lfs merge=lfs -text
270
+ roatk2bk/episode_rosbags/episode_2_2025-01-15-21-47-30.bag filter=lfs diff=lfs merge=lfs -text
271
+ roatk2bk/episode_rosbags/episode_18_2025-01-15-22-03-02.bag filter=lfs diff=lfs merge=lfs -text
272
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/run-h18xe90d.wandb filter=lfs diff=lfs merge=lfs -text
273
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/1_eval_1_fe99acb9f5fbe6b6c23e.mp4 filter=lfs diff=lfs merge=lfs -text
274
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/7_eval_7_eab2215188c302c460ba.mp4 filter=lfs diff=lfs merge=lfs -text
275
+ roatk2bk/episode_rosbags/episode_19_2025-01-15-22-03-57.bag filter=lfs diff=lfs merge=lfs -text
276
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/0_eval_0_98c68d418db5b73df1b0.mp4 filter=lfs diff=lfs merge=lfs -text
277
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/9_eval_9_9a2233becb7986a47e63.mp4 filter=lfs diff=lfs merge=lfs -text
278
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/4_eval_4_8487a970815421048be9.mp4 filter=lfs diff=lfs merge=lfs -text
279
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/3_eval_3_2988eff819b475f13199.mp4 filter=lfs diff=lfs merge=lfs -text
280
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/11_eval_11_f83167404e8bb0859778.mp4 filter=lfs diff=lfs merge=lfs -text
281
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/6_eval_6_5f3fdb589a9c504e4946.mp4 filter=lfs diff=lfs merge=lfs -text
282
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/10_eval_10_dc26db5ffbb288ebf69b.mp4 filter=lfs diff=lfs merge=lfs -text
283
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/5_eval_5_5eccb1be08111ca14e10.mp4 filter=lfs diff=lfs merge=lfs -text
284
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/8_eval_8_50d0e7e81a609c529244.mp4 filter=lfs diff=lfs merge=lfs -text
285
+ h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/2_eval_2_a9b669c92c8beee6656c.mp4 filter=lfs diff=lfs merge=lfs -text
286
+ h18xe90d/eval_video/3_eval.mp4 filter=lfs diff=lfs merge=lfs -text
287
+ h18xe90d/eval_video/8_eval.mp4 filter=lfs diff=lfs merge=lfs -text
288
+ h18xe90d/eval_video/7_eval.mp4 filter=lfs diff=lfs merge=lfs -text
289
+ h18xe90d/episode_rosbags/episode_6_2025-01-17-15-16-02.bag filter=lfs diff=lfs merge=lfs -text
290
+ h18xe90d/eval_video/4_eval.mp4 filter=lfs diff=lfs merge=lfs -text
291
+ h18xe90d/eval_video/9_eval.mp4 filter=lfs diff=lfs merge=lfs -text
292
+ h18xe90d/eval_video/11_eval.mp4 filter=lfs diff=lfs merge=lfs -text
293
+ h18xe90d/eval_video/6_eval.mp4 filter=lfs diff=lfs merge=lfs -text
294
+ h18xe90d/eval_video/1_eval.mp4 filter=lfs diff=lfs merge=lfs -text
295
+ h18xe90d/eval_video/2_eval.mp4 filter=lfs diff=lfs merge=lfs -text
296
+ h18xe90d/eval_video/5_eval.mp4 filter=lfs diff=lfs merge=lfs -text
297
+ h18xe90d/eval_video/10_eval.mp4 filter=lfs diff=lfs merge=lfs -text
298
+ h18xe90d/eval_video/0_eval.mp4 filter=lfs diff=lfs merge=lfs -text
h18xe90d/episode_rosbags/aligned_depth_to_color_K.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a962c703d20da282f5e009d432dff51df4ebd22f3386699b6754ea9cfc06a55
3
+ size 200
h18xe90d/episode_rosbags/cam_tf_world.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29313ba240dd65ebbc79056d5582a97c9586cf2a1d4a1e0db13b87b49152cc9e
3
+ size 256
h18xe90d/episode_rosbags/color_K.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a962c703d20da282f5e009d432dff51df4ebd22f3386699b6754ea9cfc06a55
3
+ size 200
h18xe90d/episode_rosbags/depth_K.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc601d2fecd31c5513c76a88b5d4d8059adc1f92dad682e2d755d89a66d8fdf7
3
+ size 200
h18xe90d/episode_rosbags/episode_6_2025-01-17-15-16-02.bag ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd62c575d83d7c558fc62f5f0c78c1d923a04ef464e7afe4fb90b8b1c0a745a
3
+ size 1412802434
h18xe90d/eval_robot.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [2025-01-17 15:10:38,524][py.warnings][WARNING] - /home/leonmkim/fish_leon/FISH/eval_robot.py:597: UserWarning:
2
+ The version_base parameter is not specified.
3
+ Please specify a compatability version level, or None.
4
+ Will assume defaults for version 1.1
5
+ @hydra.main(config_path='cfgs', config_name='config_eval')
6
+
7
+ [2025-01-17 15:10:38,527][py.warnings][WARNING] - /home/leonmkim/fish_leon/FISH/eval_robot.py:533: UserWarning:
8
+ The version_base parameter is not specified.
9
+ Please specify a compatability version level, or None.
10
+ Will assume defaults for version 1.1
11
+ hydra.initialize(
12
+
h18xe90d/eval_video/0_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98c68d418db5b73df1b05761452a845f5a35493133d7805bbed1dc89315be5c9
3
+ size 1167172
h18xe90d/eval_video/10_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc26db5ffbb288ebf69be3b37f1a149b05a67b55add127df99546db602a0c6ce
3
+ size 1385355
h18xe90d/eval_video/11_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83167404e8bb0859778ab785b3ec72f319922e32ba8be47628685d52a3fb45e
3
+ size 1451754
h18xe90d/eval_video/12_eval.mp4 ADDED
Binary file (262 Bytes). View file
 
h18xe90d/eval_video/1_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe99acb9f5fbe6b6c23e6a1f518986a970f45769de1d4acd955b9b5f9bb5e789
3
+ size 1154808
h18xe90d/eval_video/2_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b669c92c8beee6656cacd11f615b7c5aee743d336e4b927a08eddfab14d19b
3
+ size 1163094
h18xe90d/eval_video/3_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2988eff819b475f131997a6481c4c4ca6d5d6a9124cea83e7998596e71612259
3
+ size 1160636
h18xe90d/eval_video/4_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8487a970815421048be960754b4caeed67e948d55be1d9121a1fb0628f53fb10
3
+ size 1171773
h18xe90d/eval_video/5_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eccb1be08111ca14e10f50c8b05a5c13c37a164fba6aaa66d39310d8cfd12f3
3
+ size 1269853
h18xe90d/eval_video/6_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3fdb589a9c504e49465abf5578b1e48353445b5fb7da025d1597ab32b5a0b7
3
+ size 1231149
h18xe90d/eval_video/7_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab2215188c302c460ba00e7f817b9602d979b290be42c792b2cff46a93ae595
3
+ size 1153200
h18xe90d/eval_video/8_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50d0e7e81a609c529244b4bf0955c640353908a3899746c56f1df81d8ea406b8
3
+ size 1174619
h18xe90d/eval_video/9_eval.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2233becb7986a47e63b28b21334780efa49c26963ca4e624fb1db5d670d747
3
+ size 1362409
h18xe90d/tb/events.out.tfevents.1737144645.leonmkim-ROG-Strix-G15CS-G15CS.2520639.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c41bcbd73dc6edffa7bba0f3e5b86a17ebd48f081701fb27475a6d0aa8b40c38
3
+ size 12001
h18xe90d/wandb/debug-internal.log ADDED
The diff for this file is too large to render. See raw diff
 
h18xe90d/wandb/debug.log ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Current SDK version is 0.17.5
2
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Configure stats pid to 2520639
3
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from /home/leonmkim/.config/wandb/settings
4
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/settings
5
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from environment variables: {}
6
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Applying setup settings: {'_disable_service': False}
7
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Inferring run settings from compute environment: {'program_relpath': 'FISH/eval_robot.py', 'program_abspath': '/home/leonmkim/fish_leon/FISH/eval_robot.py', 'program': '/home/leonmkim/fish_leon/FISH/eval_robot.py'}
8
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Applying login settings: {}
9
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:_log_setup():529] Logging user logs to /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug.log
10
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:_log_setup():530] Logging internal logs to /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug-internal.log
11
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():569] calling init triggers
12
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():576] wandb.init called with sweep_config: {}
13
+ config: {'root_dir': '/home/leonmkim/fish_leon', 'replay_buffer_size': 150000, 'replay_buffer_num_workers': 2, 'nstep': 3, 'batch_size': 128, 'seed': 0, 'dataset_shuffle_seed': 0, 'device': 'cuda', 'save_video': True, 'save_train_video': True, 'use_tb': True, 'use_wandb': True, 'wandb_run_id': '3456_0', 'wandb_notes': '3456_0_req_3921_0', 'eval': True, 'true_action_history': False, 'train_pad_after': 4, 'process_contact_features': True, 'obs_type': 'pixels', 'use_color': False, 'use_depth': True, 'use_masks': True, 'mask_list': ['EE_obj_mask'], 'mask_representation': 'channels', 'crop_hw': [144, 144], 'crop_down_offset': 48, 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'add_crop_binary_mask': False, 'add_coord_conv_map': False, 'use_context_color': False, 'use_context_depth': False, 'use_context_segmask': False, 'context_color_crop_type': None, 'context_depth_crop_type': None, 'context_segmask_crop_type': None, 'context_add_crop_binary_mask': False, 'context_add_coord_conv_map': False, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'max_contact_prob': 0.1, 'max_depth': 2.0, 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'dtc_adaptive_normalization': False, 'mask_normals_within_sdf': True, 'adaptive_normals_mask': True, 'learnable_contact_preprocess_params': True, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'contact_estimation_model_ckpt_path': '~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt', 'encoder_type': 'small', 'debug_timestamps': False, 'open_loop': False, 'action_trajectories': True, 'stop_after_action': False, 'interpolation_frequency': 25, 'policy_frequency': 5, 'wait_for_new_camera_frames': True, 'baseline': False, 'train_demo_idxs_list_or_num': -1, 'log_train_every_steps': 25, 'name_of_expert_demo': '120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'expert_dataset_dirpath': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'store_dataset_in_memory': False, 'expert_dataset': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'action_key': 'action_trajectory_25hz', 'semantic_demo_grouping_name': 'semantic_demo_grouping.yaml', 'semantic_demo_grouping': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml', 'include_groups_list': 'all', 'expert_dataset_config': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demo_config.yaml', 'name_of_valid_demo': '120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'valid_dataset_dir': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'valid_demo_idxs_list_or_num': None, 'val_num_groups': 5, 'load_bc': True, 'checkpoint_epoch_list': [99, 199, 299, 399, 499, 599, 699, 799, 899, 999, 1249, 1499, 1749, 1999, 2999, 3999, 4999, 5999, 6999, 7999, 8999, 9999], 'snapshot_root_dir': '/mnt/grasp_high_usage/leonmkim/contact_estimation/FISH', 'save_snapshot': True, 'save_last_snapshot': True, 'save_snapshot_when_done': True, 'top_k_checkpoints': 5, 'save_snapshot_link_to_weights_dir': 'deprecated', 'restore_missing_checkpoint': None, 'bc_regularize': False, 'bc_weight_type': 'qfilter', 'experiment_dir': './exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0', 'agent': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgent', 'name': 'diffusion_policy', 'load_checkpoint': True, 'device': 'cuda', 'n_obs_steps': 1, 'suite_name': 'frankagym', 'obs_type': 'pixels', 'enable_arm': True, 'enable_camera': True, 'use_tb': True, 'desired_image_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'config': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgentConfig', 'compile': False, 'device': 'cuda', 'cam_resize_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'policy_frequency': 5, 'interpolation_frequency': 25, 'policy_cfg': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig', 'n_obs_steps': 1, 'horizon': 36, 'n_action_steps': 36, 'output_shapes': {'action': [7]}, 'input_normalization_modes': {'observation.image': 'mean_std', 'observation.state': 'min_max', 'observation.action_history': 'min_max'}, 'output_normalization_modes': {'action': 'min_max'}, 'vision_backbone': 'resnet18', 'crop_distractors_tlhw': [32, 68, 174, 174], 'pretrained_backbone_weights': None, 'transforms': [{'_target_': 'torchaug.transforms.RandomAffine', 'degrees': [-5, 5], 'translate': [0.05, 0.05], 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}, {'_target_': 'torchaug.transforms.RandomColorJitter', 'brightness': 0.3, 'contrast': 0.4, 'saturation': 0.5, 'hue': 0.08, 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}], 'use_group_norm': True, 'spatial_softmax_num_keypoints': 32, 'action_history_encoder_config': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig', 'in_channels': 7, 'out_channels': 32, 'history_length': 6, 'kernel_size': 5, 'downsample_kernel_size': 3, 'downsample_stride': 2, 'downsample_padding': 1}, 'down_dims': [256, 512, 1024], 'kernel_size': 5, 'n_groups': 8, 'diffusion_step_embed_dim': 128, 'use_film_scale_modulation': True, 'noise_scheduler_type': 'DDIM', 'beta_schedule': 'squaredcos_cap_v2', 'beta_start': 0.0001, 'beta_end': 0.02, 'prediction_type': 'epsilon', 'clip_sample': True, 'clip_sample_range': 1.0, 'num_train_timesteps': 50, 'num_inference_steps': 10, 'do_mask_loss_for_padding': False, 'input_shapes': {'observation.image': [13, 180, 240], 'context_observation.image': [13, 180, 240], 'observation.state': [8], 'observation.action_history': [7]}}, 'train_cfg': {'_target_': 'utils.TrainConfig', 'lr': 0.0001, 'lr_scheduler': 'cosine', 'lr_warmup_steps': 500, 'adam_betas': [0.95, 0.999], 'adam_eps': 1e-08, 'adam_weight_decay': 1e-06, 'grad_clip_norm': 10, 'offline_steps': 1000000, 'use_amp': True}, 'observation_cfg': {'_target_': 'agent.encoder.VisualFeatureSet', 'use_depth': True, 'use_color': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': True, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}, 'context_input_config': {'_target_': 'agent.encoder.ContextInputConfig', 'use_color': False, 'use_depth': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': False, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}}, 'mask_soft_approx_scheduler_config': {'_target_': 'agent.encoder.MaskSoftApproxSchedulerConfig', 'num_steps': 40000, 'initial_value': 10.0, 'final_value': 1000.0, 'interpolation_scheme': 'cosine'}, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'max_contact_prob': 0.1, 'mask_normals_within_sdf': True, 'dtc_adaptive_normalization': False, 'adaptive_normals_mask': True, 'max_depth': 2.0, 'image_shape': [13, 180, 240], 'learnable_contact_preprocess_params': True, 'learning_rate': 0.0001, 'weight_decay': 0.0, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'zero_centered': False, 'crop_distractors_tlhw': None}}}, 'suite': {'suite': 'frankagym', 'name': 'frankagym', 'frame_stack': 1, 'action_repeat': 1, 'discount': 0.99, 'hidden_dim': 1024, 'num_train_frames': 2010, 'num_seed_frames': 260, 'num_train_epochs': 5000, 'validate_every_epochs': 100, 'validate_diffusion_on_action_loss_every_epochs': 500, 'train_eval_diffusion_on_action_loss_every_epochs': 500, 'check_topk_every_epochs': 10, 'save_snapshot_every_epochs': 5000, 'eval_every_frames': 2000, 'num_eval_episodes': 5, 'save_snapshot': True, 'wait_for_user_to_start_episode': True, 'task_make_fn': {'_target_': 'suite.frankagym.make', 'name': 'FrankaInsertion-v1', 'height': 240, 'width': 320, 'frame_stack': 1, 'action_repeat': 1, 'seed': 0, 'enable_arm': True, 'enable_gripper': True, 'start_with_gripper_open': True, 'enable_camera': True, 'path_to_depth_extrinsics': '~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy', 'contact_estimation_model_ckpt_path': '~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt', 'x_limit': [0.2, 0.7], 'y_limit': [-0.4, 0.4], 'z_limit': [-0.05, 0.55], 'device': 'cuda', 'interpolation_frequency': 25, 'policy_frequency': 5, 'debug_timestamps': False, 'stop_after_action': False, 'open_loop': False, 'wait_for_new_camera_frames': True, 'action_key': 'action_trajectory_25hz', 'action_trajectory_horizon': 36, 'action_trajectories': True, 'path_to_zarr_dataset': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'agent_policy_cfg': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgentConfig', 'compile': False, 'device': 'cuda', 'cam_resize_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'policy_frequency': 5, 'interpolation_frequency': 25, 'policy_cfg': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig', 'n_obs_steps': 1, 'horizon': 36, 'n_action_steps': 36, 'output_shapes': {'action': [7]}, 'input_normalization_modes': {'observation.image': 'mean_std', 'observation.state': 'min_max', 'observation.action_history': 'min_max'}, 'output_normalization_modes': {'action': 'min_max'}, 'vision_backbone': 'resnet18', 'crop_distractors_tlhw': [32, 68, 174, 174], 'pretrained_backbone_weights': None, 'transforms': [{'_target_': 'torchaug.transforms.RandomAffine', 'degrees': [-5, 5], 'translate': [0.05, 0.05], 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}, {'_target_': 'torchaug.transforms.RandomColorJitter', 'brightness': 0.3, 'contrast': 0.4, 'saturation': 0.5, 'hue': 0.08, 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}], 'use_group_norm': True, 'spatial_softmax_num_keypoints': 32, 'action_history_encoder_config': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig', 'in_channels': 7, 'out_channels': 32, 'history_length': 6, 'kernel_size': 5, 'downsample_kernel_size': 3, 'downsample_stride': 2, 'downsample_padding': 1}, 'down_dims': [256, 512, 1024], 'kernel_size': 5, 'n_groups': 8, 'diffusion_step_embed_dim': 128, 'use_film_scale_modulation': True, 'noise_scheduler_type': 'DDIM', 'beta_schedule': 'squaredcos_cap_v2', 'beta_start': 0.0001, 'beta_end': 0.02, 'prediction_type': 'epsilon', 'clip_sample': True, 'clip_sample_range': 1.0, 'num_train_timesteps': 50, 'num_inference_steps': 10, 'do_mask_loss_for_padding': False, 'input_shapes': {'observation.image': [13, 180, 240], 'context_observation.image': [13, 180, 240], 'observation.state': [8], 'observation.action_history': [7]}}, 'train_cfg': {'_target_': 'utils.TrainConfig', 'lr': 0.0001, 'lr_scheduler': 'cosine', 'lr_warmup_steps': 500, 'adam_betas': [0.95, 0.999], 'adam_eps': 1e-08, 'adam_weight_decay': 1e-06, 'grad_clip_norm': 10, 'offline_steps': 1000000, 'use_amp': True}, 'observation_cfg': {'_target_': 'agent.encoder.VisualFeatureSet', 'use_depth': True, 'use_color': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': True, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}, 'context_input_config': {'_target_': 'agent.encoder.ContextInputConfig', 'use_color': False, 'use_depth': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': False, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}}, 'mask_soft_approx_scheduler_config': {'_target_': 'agent.encoder.MaskSoftApproxSchedulerConfig', 'num_steps': 40000, 'initial_value': 10.0, 'final_value': 1000.0, 'interpolation_scheme': 'cosine'}, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'max_contact_prob': 0.1, 'mask_normals_within_sdf': True, 'dtc_adaptive_normalization': False, 'adaptive_normals_mask': True, 'max_depth': 2.0, 'image_shape': [13, 180, 240], 'learnable_contact_preprocess_params': True, 'learning_rate': 0.0001, 'weight_decay': 0.0, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'zero_centered': False}}, 'true_action_history': False}}, 'num_train_frames_bc': 50000, 'num_train_frames_drq': 1100000, 'stddev_schedule_drq': 'linear(1.0,0.1,100000)', 'task_name': 'FrankaInsertion-v1', 'num_train_frames_vinn': 25000, 'num_train_frames_diffusion': 1000000, 'num_train_epochs_bc': 5000, 'num_train_epochs_diffusion': 15000, 'validate_every_epochs_bc': 5, 'validate_every_epochs_diffusion': 250, 'validate_diffusion_on_action_loss_every_epochs': 250, 'train_eval_diffusion_on_action_loss_every_epochs': 250, 'check_topk_every_epochs': 5, 'check_topk_every_epochs_diffusion': 250, 'save_snapshot_every_epochs_diffusion': 1500, 'x_limit': [0.2, 0.7], 'y_limit': [-0.4, 0.4], 'z_limit': [-0.05, 0.55], 'home_displacement': [0.55, 0.0, 0.55, 180.0, 0.0, 0.0], 'enable_gripper': True, 'start_with_gripper_open': True, 'offset_mask': [1, 1, 1, 1, 1, 1], 'path_to_depth_extrinsics': '~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy', 'test': {'username': 'leonmkim', 'hostname': 'grasp-login1', 'name_of_expert_demo': '112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'root_dir': '~/fish_leon', 'expert_dataset_dirpath': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'expert_dataset': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'semantic_demo_grouping_name': 'semantic_demo_grouping.yaml', 'semantic_demo_grouping': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml', 'include_groups_list': 'all', 'batch_size': 128, 'store_dataset_in_memory': False, 'use_tb': True, 'local_snapshot_root_dir': '/mnt/bighdd/fish_contact_backup', 'local_snapshot_dir': '/mnt/bighdd/fish_contact_backup/exp_local/frankagym_pixels/FrankaInsertion-v1', 'resume_wandb_run': False}, 'feature_type': '180x240_crpdstlhw24x51x130x130_1_D_2.0_msk_channels_EE_obj_mask_acthist_hst6_out32_dwnkrnl3_dwnstrd2_dwnpd1', 'save_buffer': True, 'num_eval': 20, 'random_start': False, 'eval_starts': '/home/leonmkim/fish_leon/FISH/eval_starts/frankagym_pixels/FrankaInsertion-v1', 'num_valid_demos': None, 'load_checkpoint': True, 'checkpoint_epoch': 12000, 'load_residual_weight': False, 'checkpoint_root_dir': '/home/leonmkim/fish_leon/FISH', 'checkpoint_weight_dir': '/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0', 'residual_weight': '/home/leonmkim/fish_leon/FISH/weights/frankagym_pixels/FrankaInsertion-v1/weight.pt', 'final_experiment_dir': './exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d'}
14
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():619] starting backend
15
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():623] setting up manager
16
+ 2025-01-17 15:10:44,430 INFO MainThread:2520639 [backend.py:_multiprocessing_setup():105] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
17
+ 2025-01-17 15:10:44,432 INFO MainThread:2520639 [wandb_init.py:init():631] backend started and connected
18
+ 2025-01-17 15:10:44,447 INFO MainThread:2520639 [wandb_init.py:init():720] updated telemetry
19
+ 2025-01-17 15:10:44,454 INFO MainThread:2520639 [wandb_init.py:init():753] communicating run to backend with 90.0 second timeout
20
+ 2025-01-17 15:10:44,753 INFO MainThread:2520639 [wandb_run.py:_on_init():2435] communicating current version
21
+ 2025-01-17 15:10:44,796 INFO MainThread:2520639 [wandb_run.py:_on_init():2444] got version response upgrade_message: "wandb version 0.19.4 is available! To upgrade, please run:\n $ pip install wandb --upgrade"
22
+
23
+ 2025-01-17 15:10:44,797 INFO MainThread:2520639 [wandb_init.py:init():804] starting run threads in backend
24
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_console_start():2413] atexit reg
25
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_redirect():2255] redirect: wrap_raw
26
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_redirect():2320] Wrapping output streams.
27
+ 2025-01-17 15:10:45,172 INFO MainThread:2520639 [wandb_run.py:_redirect():2345] Redirects installed.
28
+ 2025-01-17 15:10:45,173 INFO MainThread:2520639 [wandb_init.py:init():847] run started, returning control to user process
29
+ 2025-01-17 15:10:45,173 INFO MainThread:2520639 [wandb_run.py:_tensorboard_callback():1544] tensorboard callback: /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/tb, True
30
+ 2025-01-17 15:10:51,873 INFO MainThread:2520639 [wandb_run.py:_config_callback():1382] config_cb None None {'grasped_obj_name': 'greece', 'left_book_slot': 'twodim'}
31
+ 2025-01-17 15:54:38,211 INFO MainThread:2520639 [wandb_run.py:_finish():2107] finishing run serialexperimentsleon/extrinsic_contact_downstream/h18xe90d
32
+ 2025-01-17 15:54:38,263 INFO MainThread:2520639 [wandb_run.py:_atexit_cleanup():2374] got exitcode: 0
33
+ 2025-01-17 15:54:38,310 INFO MainThread:2520639 [wandb_run.py:_restore():2352] restore
34
+ 2025-01-17 15:54:38,310 INFO MainThread:2520639 [wandb_run.py:_restore():2358] restore done
35
+ 2025-01-17 15:54:51,019 INFO MainThread:2520639 [wandb_run.py:_footer_history_summary_info():4016] rendering history
36
+ 2025-01-17 15:54:51,043 INFO MainThread:2520639 [wandb_run.py:_footer_history_summary_info():4048] rendering summary
37
+ 2025-01-17 15:54:52,124 INFO MainThread:2520639 [wandb_run.py:_footer_sync_info():3975] logging synced files
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/code/FISH/eval_robot.py ADDED
@@ -0,0 +1,606 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #%%
2
+ import warnings
3
+ import os
4
+
5
+ os.environ['MKL_SERVICE_FORCE_INTEL'] = '1'
6
+ os.environ['MUJOCO_GL'] = 'egl'
7
+ from pathlib import Path
8
+ #%%
9
+ import hydra
10
+ import numpy as np
11
+ import torch
12
+
13
+ import utils
14
+ from utils import get_feature_dirname_from_configs
15
+
16
+ from video import VideoRecorder
17
+ import pickle
18
+ import time
19
+ import threading
20
+ import shutil
21
+ from logger import Logger
22
+
23
+ import wandb
24
+ from omegaconf import OmegaConf, open_dict
25
+
26
+ from replay_buffer_robot import RosbagEvalReplayBufferStorage
27
+ from lerobot.common.utils.utils import _relative_path_between
28
+
29
+ torch.backends.cudnn.benchmark = True
30
+ warnings.filterwarnings('ignore', category=DeprecationWarning)
31
+
32
+ # import specs for replay buffer
33
+ from dm_env import specs
34
+
35
+ import sys, signal
36
+ import yaml
37
+
38
+ import binomial_cis as bc
39
+
40
+ # get path of current file
41
+ current_path = os.path.dirname(os.path.realpath(__file__))
42
+ sys.path.append(os.path.join(current_path, os.pardir))
43
+ # from contact_estimation.src.utils.viz_utils import normalized_surface_normal_to_rgb, depth_map_to_im, grasped_env_dtc_map_to_im, contact_prob_map_to_im, desaturate_color_image, masked_overlay_im_list
44
+
45
+ def make_agent(obs_spec, action_spec, cfg):
46
+ cfg.obs_shape = obs_spec['pixels'].shape
47
+ dataset_statistics = None # this will be loaded from the checkpoint
48
+ try:
49
+ cfg.action_shape = action_spec.shape
50
+ except:
51
+ pass
52
+ return hydra.utils.instantiate(cfg, dataset_statistics)
53
+
54
+ class Workspace:
55
+ def __init__(self, cfg):
56
+ self.work_dir = Path.cwd()
57
+ print(f'workspace: {self.work_dir}')
58
+
59
+ signal.signal(signal.SIGINT, self.signal_handler)
60
+
61
+ self.cfg = cfg
62
+ self.loading_uncompiled_checkpoint_with_compile = False
63
+ self.loading_compiled_checkpoint_with_no_compile = False
64
+
65
+ snapshot_path = Path(self.cfg.checkpoint_weight_dir) / f'snapshot_{self.cfg.checkpoint_epoch}.pt'
66
+ self.load_checkpoint_conf(snapshot_path=snapshot_path)
67
+
68
+ # load config for action trajectories
69
+ utils.set_seed_everywhere(self.cfg.seed)
70
+ self.device = torch.device(self.cfg.device)
71
+ self.setup()
72
+
73
+ # self.agent = make_agent(self.eval_env.observation_spec(),
74
+ # self.eval_env.action_spec(), self.cfg.agent)
75
+ self.timer = utils.Timer()
76
+ # self._global_step = 0
77
+ self._global_episode = 0
78
+ self._global_epoch = 0
79
+ self.num_episode_successes = 0
80
+
81
+ self.alpha_range = [.01, .025, .05, .1]
82
+
83
+ # Need to convert hydra config to primitive container for wandb https://docs.wandb.ai/guides/integrations/hydra
84
+ with open_dict(self.cfg):
85
+ self.cfg.feature_type = get_feature_dirname_from_configs(
86
+ hydra.utils.instantiate(self.cfg.agent.config),
87
+ # hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
88
+ # self.cfg.agent.config.policy_cfg.input_shapes,
89
+ # hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
90
+ )
91
+
92
+ wandb_config = OmegaConf.to_container(
93
+ self.cfg, resolve=True, throw_on_missing=True
94
+ )
95
+ # must be called before any tf summary writer is created
96
+ if self.cfg.use_wandb:
97
+ # get the run id from the final_experiment_dir directory
98
+ run_id = os.path.basename(os.path.normpath(self.cfg.final_experiment_dir))
99
+ wandb.init(project='extrinsic_contact_downstream', entity='serialexperimentsleon', job_type='eval', sync_tensorboard=self.cfg.use_tb, config=wandb_config, id=run_id)
100
+
101
+ self.logger = Logger(self.work_dir, use_tb=self.cfg.use_tb, use_wandb=self.cfg.use_wandb)
102
+
103
+ # if not self.loading_uncompiled_checkpoint_with_compile and self.cfg.agent.config.compile:
104
+ # self.agent.compile_modules()
105
+
106
+ # self.load_checkpoint(snapshot_path=snapshot_path)
107
+
108
+ # if self.loading_uncompiled_checkpoint_with_compile: # need to call compile after loading the checkpoint
109
+ # self.agent.compile_modules()
110
+
111
+ print(f"loaded agent with feature_type: {self.cfg.feature_type}")
112
+
113
+ def check_for_key_press(self):
114
+ while self.continue_keypress_thread:
115
+ inp = input("Press 'r' to restart current episode, 'n' to stop current episode and skip to next, 'q' to break entire eval\n")
116
+ if inp == 'n':
117
+ self.preempt_episode = True
118
+ print("preempting episode")
119
+ elif inp in ['', '0', '1']: # enter key
120
+ if inp in ['0', '1']:
121
+ self.num_episode_successes += int(inp)
122
+ self.proceed_after_env_reset_event.set()
123
+ print("proceeding to start episode!")
124
+ elif inp == 'q':
125
+ self.proceed_after_env_reset_event.set()
126
+ self.preempt_episode = True
127
+ self.exit_eval = True
128
+ self.continue_keypress_thread = False # will stop the keypress thread
129
+ print("quitting eval")
130
+ break
131
+ elif inp == 'r':
132
+ print('restarting episode')
133
+ self.preempt_episode = True
134
+ self.restart_episode = True
135
+ else:
136
+ print("Invalid key press, try again")
137
+
138
+ # self.keypress_input_thread.join() # wait for the keypress thread to finish
139
+
140
+ def signal_handler(self, signal, frame):
141
+ print("\nprogram exiting gracefully")
142
+ self.proceed_after_env_reset_event.set()
143
+ self.preempt_episode = True
144
+ self.exit_eval = True
145
+ self.continue_keypress_thread = False # will stop the keypress thread
146
+ self.keypress_input_thread.join() # wait for the keypress thread to finish
147
+ video_filepath = self.video_recorder.save()
148
+ # get the video file and convert to video tensor to log
149
+ self.logger.log_video('eval/video', video_filepath, self.global_step)
150
+ wandb.finish()
151
+ sys.exit(0)
152
+
153
+ def setup(self):
154
+ # create envs
155
+ self.eval_env = hydra.utils.call(self.cfg.suite.task_make_fn)
156
+ # expert_demo_config_path = os.path.join(os.path.dirname(self.cfg.expert_dataset), 'demo_config.yaml')
157
+ # self.expert_demo_config = yaml.load(open(expert_demo_config_path, 'r'), Loader=yaml.FullLoader)
158
+ # self.eval_env._env.action_trans_norm = expert_demo_config['max_translation_action_norm']
159
+ # self.eval_env._env.action_rot_norm = expert_demo_config['max_rotation_action_norm']
160
+ # self.eval_env._env.action_period = expert_demo_config['sample_period']
161
+ # print(f"setting max_translation_action_norm to {expert_demo_config['max_translation_action_norm']} and sample_period to {expert_demo_config['sample_period']}")
162
+ # print(f"setting max_rotation_action_norm to {expert_demo_config['max_rotation_action_norm']}")
163
+
164
+ # self.eval_env.set_demo_params(self.cfg.expert_dataset)
165
+
166
+ # Turn off random start
167
+ self.eval_env.random_start = False
168
+
169
+ # create replay buffer
170
+ # data_specs = [
171
+ # {
172
+ # 'observation': self.eval_env.observation_spec(),
173
+ # },
174
+ # # self.eval_env.observation_spec()['features'],
175
+ # self.eval_env.action_spec(),
176
+ # specs.Array(self.eval_env.action_spec().shape, self.eval_env.action_spec().dtype, 'vinn_action'),
177
+ # specs.Array((1, ), np.float32, 'reward'),
178
+ # specs.Array((1, ), np.float32, 'discount'),
179
+ # ]
180
+
181
+ # self.eval_replay_storage = ZarrEvalReplayBufferStorage(data_specs, self.work_dir / 'eval_buffer', debug_timestamps=self.cfg.debug_timestamps, save_buffer=self.cfg.save_buffer, debug_info_data_specs=self.eval_env.debug_info_data_specs, camera_info_dict=self.eval_env.get_camera_info_dict())
182
+ self.eval_replay_storage = RosbagEvalReplayBufferStorage(self.work_dir)
183
+
184
+ self.video_recorder = VideoRecorder(
185
+ self.work_dir if self.cfg.save_video else None,
186
+ ros_enabled=True,
187
+ fps=self.cfg.agent.config.policy_frequency,
188
+ )
189
+
190
+ print('workspace setup complete')
191
+
192
+ @property
193
+ def global_step(self):
194
+ # return self._global_step
195
+ return self.eval_env.get_global_step()
196
+
197
+ @property
198
+ def global_episode(self):
199
+ return self._global_episode
200
+
201
+ @property
202
+ def global_frame(self):
203
+ return self.global_step * self.cfg.action_repeat
204
+
205
+ @property
206
+ def global_epoch(self):
207
+ return self._global_epoch
208
+
209
+ def reset(self, eval_idx):
210
+ if not self.eval_env.enable_arm:
211
+ return np.array([0,0,0], dtype=np.float32)
212
+ self.eval_env.arm_refresh(reset=False)
213
+ # Set start position
214
+ try:
215
+ self.eval_env.set_position(self.start_pos[eval_idx])
216
+ except:
217
+ self.eval_env.arm.set_position(self.start_pos[eval_idx])
218
+ if self.eval_env.arm.keep_gripper_closed:
219
+ self.eval_env.arm.close_gripper_fully()
220
+ else:
221
+ self.eval_env.arm.open_gripper_fully()
222
+ time.sleep(0.1)
223
+ time_step = self.eval_env.step(np.zeros(self.eval_env.action_spec().shape[0], dtype=np.float32),
224
+ np.zeros(self.eval_env.action_spec().shape[0], dtype=np.float32))
225
+ return time_step
226
+
227
+ def eval(self):
228
+ # before evals start, prompt user for name of grasped object and the left book of the slot location
229
+ grasped_obj_name = input("Enter the name of the grasped object: ")
230
+ left_book_slot = input("Enter the left book slot location: ")
231
+ # update wandb config
232
+ if self.cfg.use_wandb:
233
+ wandb.config.update({'grasped_obj_name': grasped_obj_name, 'left_book_slot': left_book_slot})
234
+
235
+ self.preempt_episode = False
236
+ self.exit_eval = False
237
+ self.restart_episode = False
238
+
239
+ self.continue_keypress_thread = True
240
+ self.proceed_after_env_reset_event = threading.Event()
241
+ self.keypress_input_thread = threading.Thread(target=self.check_for_key_press)
242
+ self.keypress_input_thread.start()
243
+
244
+ # # Set model to eval mode
245
+ # self.agent.train(False)
246
+
247
+ eval_until_episode = utils.Until(self.cfg.num_eval)
248
+
249
+ self.use_action_history = False
250
+ # if "dp" in repr(self.agent) and "observation.action_history" in self.cfg.agent.config.policy_cfg.input_shapes:
251
+ if "observation.action_history" in self.cfg.agent.config.policy_cfg.input_shapes:
252
+ self.use_action_history = True
253
+
254
+ # self.eval_replay_storage._new_eval_step(0)
255
+
256
+ # if 'vinn' in repr(self.agent) or 'openloop' in repr(self.agent):
257
+ # with open(self.cfg.expert_dataset, 'rb') as f:
258
+ # if self.cfg.obs_type == 'pixels':
259
+ # self.expert_demo, _, self.expert_action, self.expert_reward = pickle.load(f)
260
+ # elif self.cfg.obs_type == 'features':
261
+ # _, self.expert_demo, self.expert_action, self.expert_reward = pickle.load(f)
262
+
263
+ # if self.cfg.action_trajectories:
264
+ # with open(self.cfg.expert_action_trajectories, 'rb') as f:
265
+ # self.expert_action = pickle.load(f)
266
+
267
+ # if isinstance(self.cfg.train_demo_idxs_list_or_num, int):
268
+ # if self.cfg.train_demo_idxs_list_or_num == -1:
269
+ # self.cfg.train_demo_idxs_list_or_num = len(self.expert_demo)
270
+ # train_demo_idxs_list_or_num = list(range(self.cfg.train_demo_idxs_list_or_num))
271
+
272
+ # self.expert_demo = self.expert_demo[train_demo_idxs_list_or_num]
273
+ # self.expert_action = self.expert_action[train_demo_idxs_list_or_num]
274
+ # self.expert_reward = self.expert_reward[train_demo_idxs_list_or_num]
275
+ # # if self.cfg.action_plans:
276
+ # # self.expert_action_plans = self.expert_action_plans[self.cfg.train_demo_idxs_list_or_num]
277
+ # # self.expert_demo = self.expert_demo[:self.cfg.num_demos]
278
+ # # self.expert_action = self.expert_action[:self.cfg.num_demos]
279
+ # # self.expert_reward = self.expert_reward[:self.cfg.num_demos]
280
+
281
+ # self.expert_demo = np.concatenate(self.expert_demo, axis=0)
282
+ # self.expert_rgb_obs = np.ascontiguousarray(np.transpose(self.expert_demo, (0,2,3,1))[:, :,:,:3].astype(np.uint8))
283
+ # self.expert_action = np.concatenate(self.expert_action, axis=0)
284
+
285
+ # self.agent.save_representations(self.expert_demo, self.expert_action, 128, config=self.expert_demo_config)
286
+
287
+ # Get start points
288
+ if self.cfg.random_start:
289
+ eval_starts = Path(self.cfg.eval_starts) / 'starts.pkl'
290
+ if eval_starts.exists():
291
+ with eval_starts.open('rb') as f:
292
+ self.start_pos = pickle.load(f)
293
+ else:
294
+ eval_starts = Path(self.cfg.eval_starts)
295
+ eval_starts.mkdir(parents=True, exist_ok=True)
296
+
297
+ # Generate start points
298
+ self.start_pos = []
299
+ try:
300
+ for _ in range(self.cfg.num_eval):
301
+ self.start_pos.append(self.eval_env.get_random_pos())
302
+ except:
303
+ for _ in range(self.cfg.num_eval):
304
+ self.start_pos.append(self.eval_env.arm.get_random_pos())
305
+
306
+ # Save start points for the task
307
+ eval_starts = eval_starts / 'starts.pkl'
308
+ with eval_starts.open('wb') as f:
309
+ pickle.dump(self.start_pos, f)
310
+
311
+ time_step = self.eval_env.reset()
312
+ # replay_thread = None
313
+ while eval_until_episode(self.global_episode) and not self.exit_eval:
314
+ # self.video_recorder.init(self.eval_env, video_filename=f'{self.global_episode}_eval.mp4')
315
+ print(f"Starting episode {self.global_episode}")
316
+ time_step = self.eval_env.reset() #Leon: need to call reset twice in case objects are trapped
317
+ self.video_recorder.init(self.eval_env, video_filename=f'{self.global_episode}_eval.mp4')
318
+ # x = input("Press Enter to continue... after reseting env")
319
+ print("Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success")
320
+ self.proceed_after_env_reset_event.clear() # clear the event flag
321
+ self.proceed_after_env_reset_event.wait() # blocking wait for the event flag to be set
322
+ if self.global_episode > 0:
323
+ self.logger.log_metrics({'num_success': self.num_episode_successes}, self.global_step, 'eval', episode=self.global_episode)
324
+ self.logger.log_metrics({'success_rate': self.num_episode_successes/self.global_episode}, self.global_step, 'eval', episode=self.global_episode)
325
+
326
+ # log confidence intervals for success rate
327
+ k = self.num_episode_successes # number of successes
328
+ n = self.global_episode # number of trials
329
+
330
+ table_columns = []
331
+ table_data = []
332
+ for alpha in self.alpha_range:
333
+ lb = bc.binom_ci(k, n, alpha, 'lb')
334
+ ub = bc.binom_ci(k, n, alpha, 'ub')
335
+
336
+ self.logger.log_metrics({f'success_rate_lb_{alpha}': lb}, self.global_step, 'eval', episode=self.global_episode)
337
+ self.logger.log_metrics({f'success_rate_ub_{alpha}': ub}, self.global_step, 'eval', episode=self.global_episode)
338
+
339
+ time_step = self.eval_env.reset()
340
+ # debug_info_dict = self.eval_env.debug_info_dict
341
+ # if replay_thread is not None:
342
+ # # wait for the last replay thread to finish
343
+ # replay_thread.join()
344
+
345
+ # self.eval_replay_storage.add(time_step._replace(observation=time_step.observation[self.cfg.obs_type]), debug_info_dict)
346
+ # replay_thread = threading.Thread(target=self.eval_replay_storage.add, args=(time_step._replace(observation=time_step.observation[self.cfg.obs_type]), debug_info_dict))
347
+ # replay_thread = threading.Thread(target=self.eval_replay_storage.add, args=(time_step, debug_info_dict))
348
+
349
+ # replay_thread.start()
350
+ if self.cfg.random_start:
351
+ time_step = self.reset(self.global_episode)
352
+ time.sleep(2) #5)
353
+ # if 'vinn' in repr(self.agent):
354
+ # self.agent.reset()
355
+ # # self.agent.buffer.reset()
356
+ # # if self.cfg.open_loop:
357
+ # # self.agent.current_step = 0
358
+ # if 'openloop' in repr(self.agent):
359
+ # self.agent.curr_step = 0
360
+ # at start of each episode, provide zero action for policies that use action history
361
+ # shape should be (T_o, T_a, action_dim)
362
+
363
+ # while not time_step.last() and not self.preempt_episode:
364
+ self.video_recorder.ros_start_recording()
365
+ self.eval_replay_storage.start_episode()
366
+ self.eval_env.start_policy_timer()
367
+ while not self.eval_env.episode_done() and not self.preempt_episode:
368
+ # with torch.no_grad(), utils.eval_mode(self.agent):
369
+ # # if self.cfg.agent.provide_topk:
370
+ # # action, vinn_action, topk = self.agent.act(
371
+ # # time_step.observation['pixels'],
372
+ # # self.global_step,
373
+ # # eval_mode=True)
374
+ # # elif self.cfg.agent.provide_obs:
375
+ # # action, vinn_action, obs = self.agent.act(
376
+ # # time_step.observation['pixels'],
377
+ # # self.global_step,
378
+ # # eval_mode=True)
379
+ # # else:
380
+ # action, vinn_action = self.agent.act(
381
+ # time_step.observation,
382
+ # self.global_step,
383
+ # eval_mode=True,
384
+ # obs_timestamp=time_step.observation['timestamp'],
385
+ # obs_seq=time_step.observation['seq'],
386
+ # action_history=action_history,
387
+ # action_history_start_timestamp=action_history_start_timestamp,
388
+ # )
389
+ # DONT WAIT FOR POLICY TO GET AN ACTION
390
+ # we dont want to slow down grabbing obs and passing to sam/contact features
391
+
392
+ self.eval_env.run_policy_threads() # this just does a rospy sleep
393
+
394
+ # if self.use_action_history:
395
+ # action_history_start_timestamp = time_step.observation['timestamp']
396
+ # # action_history = action[:self.cfg.agent.config.policy_cfg.action_history_encoder_config.history_length, ...]
397
+ # # add n_obs_steps dimension to action_history, for now we assume n_obs_steps = 1
398
+ # # TODO: handle n_obs_steps > 1
399
+ # action_history = action[np.newaxis, ...]
400
+
401
+ # time_step = self.eval_env.step(action, vinn_action) # obs, reward after action has been taken
402
+ # debug_info_dict = self.eval_env.debug_info_dict
403
+
404
+ # time_step = self.eval_env.ros_step()
405
+
406
+ # replay_thread.join()
407
+
408
+ # time how long it takes to execute the step
409
+ # time_before_add = time.perf_counter()
410
+ # self.eval_replay_storage.add(time_step._replace(observation=time_step.observation[self.cfg.obs_type]), debug_info_dict)
411
+ # use thread to call the add function in a separate thread
412
+ # replay_thread = threading.Thread(target=self.eval_replay_storage.add, args=(time_step._replace(observation=time_step.observation[self.cfg.obs_type]), debug_info_dict))
413
+
414
+ # replay_thread = threading.Thread(target=self.eval_replay_storage.add, args=(time_step, debug_info_dict))
415
+ # replay_thread.start()
416
+
417
+ # print(f"Time to add to replay buffer: {time.perf_counter() - time_before_add}")
418
+
419
+ # self.video_recorder.record(self.eval_env)
420
+ # self._global_step += 1
421
+
422
+ self.eval_env.stop_policy_timer()
423
+
424
+ if self.restart_episode:
425
+ # means we should delete the current episode and start again
426
+ self.restart_episode = False
427
+ self.eval_replay_storage.reset_current_episode()
428
+ self.video_recorder.reset_current_episode()
429
+
430
+ else:
431
+ self.eval_replay_storage.store_current_episode()
432
+ video_filepath = self.video_recorder.save()
433
+ self.logger.log_video(f"eval/{video_filepath.name.rstrip('.mp4')}", video_filepath, self.global_step)
434
+ self._global_episode += 1
435
+
436
+ self.preempt_episode = False # reset preempt_episode flag
437
+
438
+ # self.video_recorder.save(f'{episode}_eval.mp4')
439
+ # get the video file and convert to video tensor to log
440
+
441
+ self.eval_env.reset()
442
+
443
+ print("Evaluation finished. To wrap up, rate prev episode, press 0 for failure and 1 for success")
444
+ self.proceed_after_env_reset_event.clear() # clear the event flag
445
+ self.proceed_after_env_reset_event.wait() # blocking wait for the event flag to be set
446
+ if self.global_episode > 0:
447
+ # self.logger.log_metrics({'num_success': self.num_episode_successes}, self.global_step, 'eval', episode=self.global_episode)
448
+ self.logger.log_metrics({'num_success': self.num_episode_successes}, self.global_step, 'eval', episode=self.global_episode)
449
+ self.logger.log_metrics({'success_rate': self.num_episode_successes/self.global_episode}, self.global_step, 'eval', episode=self.global_episode)
450
+
451
+ # log confidence intervals for success rate
452
+ k = self.num_episode_successes # number of successes
453
+ n = self.global_episode # number of trials
454
+
455
+ table_columns = ['success_rate']
456
+ table_data = [self.num_episode_successes/self.global_episode]
457
+ for alpha in self.alpha_range:
458
+ lb = bc.binom_ci(k, n, alpha, 'lb')
459
+ ub = bc.binom_ci(k, n, alpha, 'ub')
460
+
461
+ self.logger.log_metrics({f'success_rate_lb_{alpha}': lb}, self.global_step, 'eval', episode=self.global_episode)
462
+ self.logger.log_metrics({f'success_rate_ub_{alpha}': ub}, self.global_step, 'eval', episode=self.global_episode)
463
+
464
+ table_columns.extend([f'success_rate_lb_{alpha}', f'success_rate_ub_{alpha}'])
465
+ table_data.extend([lb, ub])
466
+
467
+ table_data = [table_data]
468
+
469
+ # seperately log as a table
470
+ wandb.log({
471
+ "eval/success_rate_ci": wandb.Table(data=table_data, columns=table_columns)
472
+ })
473
+
474
+ # also accumulate eval metrics across previous eval runs
475
+ # TODO: change wandb init to resume from an existing run!!!
476
+ run_filter={
477
+ "jobType": "eval",
478
+ "config.wandb_run_id": self.cfg.wandb_run_id,
479
+ "summary_metrics.episode": {"$gte": 5},
480
+ "config.checkpoint_epoch": self.cfg.checkpoint_epoch,
481
+ "state": "finished",
482
+ # "config.grasped_obj_name": grasped_obj_name,
483
+ # "config.left_book_slot": left_book_slot,
484
+ }
485
+
486
+ api = wandb.Api()
487
+ filtered_runs = api.runs("serialexperimentsleon/extrinsic_contact_downstream", filters=run_filter)
488
+ total_num_successes = self.num_episode_successes
489
+ total_num_episodes = self.global_episode
490
+ list_of_historical_run_ids = []
491
+ if len(filtered_runs) > 0:
492
+ for filtered_run in filtered_runs:
493
+ total_num_successes += filtered_run.summary_metrics['eval/num_success']
494
+ # total_num_episodes += filtered_run.summary_metrics['episode']
495
+ total_num_episodes += filtered_run.config['num_eval']
496
+ list_of_historical_run_ids.append(filtered_run.id)
497
+
498
+ wandb.summary['total_num_successes'] = total_num_successes
499
+ wandb.summary['total_num_episodes'] = total_num_episodes
500
+ wandb.summary['total_success_rate'] = total_num_successes/total_num_episodes
501
+
502
+ # log the accumulated metrics as a table
503
+ total_table_columns = ['total_num_successes', 'total_num_episodes', 'total_success_rate']
504
+ total_table_data = [total_num_successes, total_num_episodes, total_num_successes/total_num_episodes]
505
+ self.logger.log_metrics({'total_success_rate': total_num_successes/total_num_episodes}, self.global_step, 'eval', episode=total_num_episodes)
506
+
507
+ for alpha in self.alpha_range:
508
+ lb = bc.binom_ci(total_num_successes, total_num_episodes, alpha, 'lb')
509
+ ub = bc.binom_ci(total_num_successes, total_num_episodes, alpha, 'ub')
510
+ total_table_columns.extend([f'total_success_rate_lb_{alpha}', f'total_success_rate_ub_{alpha}'])
511
+ total_table_data.extend([lb, ub])
512
+ wandb.summary[f'total_success_rate_lb_{alpha}'] = lb
513
+ wandb.summary[f'total_success_rate_ub_{alpha}'] = ub
514
+
515
+ self.logger.log_metrics({f'total_success_rate_lb_{alpha}': lb}, self.global_step, 'eval', episode=total_num_episodes)
516
+ self.logger.log_metrics({f'total_success_rate_ub_{alpha}': ub}, self.global_step, 'eval', episode=total_num_episodes)
517
+
518
+ total_table_data = [total_table_data]
519
+ wandb.log({
520
+ 'eval/total_success_rate_ci': wandb.Table(data=total_table_data, columns=total_table_columns)
521
+ })
522
+
523
+ self.continue_keypress_thread = False # will stop the keypress thread
524
+ self.keypress_input_thread.join() # wait for the keypress thread to finish
525
+
526
+ def load_checkpoint_conf(self, snapshot_path):
527
+ config_path = snapshot_path.parent / 'config.yaml'
528
+ if not config_path.exists():
529
+ raise FileNotFoundError(f'No snapshot conf found at {config_path}')
530
+ else:
531
+ # load the omegaconf config
532
+ hydra.core.global_hydra.GlobalHydra.instance().clear()
533
+ hydra.initialize(
534
+ str(_relative_path_between(Path(config_path).absolute().parent, Path(__file__).absolute().parent)),
535
+ )
536
+ cfg = hydra.compose(Path(config_path).stem)
537
+ from deepdiff import DeepDiff
538
+ from omegaconf import open_dict
539
+ diff = DeepDiff(OmegaConf.to_container(cfg), OmegaConf.to_container(self.cfg)) # old, new
540
+ # import re
541
+ overwriteable_keys = [f"root{overwritable_key}" for overwritable_key in ["['use_wandb']", "['path_to_depth_extrinsics']", "['eval']", "['root_dir']", "['wandb_notes']", "['agent']['config']['train_cfg']['use_amp']", "['agent']['config']['compile']", "['agent']['config']['policy_cfg']['num_inference_steps']"]]
542
+ if "values_changed" in diff:
543
+ # top_k_checkpoints, wandb_notes, agent.config.train_cfg.use_amp, save_snapshot_every_epochs_diffusion, check_topk_every_epochs_diffusion, validate_diffusion_on_action_loss_every_epochs, train_eval_diffusion_on_action_loss_every_epochs, validate_every_epochs_diffusion
544
+ # for keys above, overwrite the old config with the new config
545
+ for k, v in diff['values_changed'].items():
546
+ # replace any keys that are under "root['suite']"
547
+ if k in overwriteable_keys or k.startswith("root['suite']"):
548
+ print(f"Found changed key {k} with value {v}. Overwriting old checkpoint config")
549
+ if k == "root['agent']['config']['compile']":
550
+ if diff['values_changed'][k]['new_value']:
551
+ self.loading_uncompiled_checkpoint_with_compile = True
552
+ elif not diff['values_changed'][k]['new_value']:
553
+ # raise ValueError("Cannot load a compiled checkpoint without compile")
554
+ self.loading_compiled_checkpoint_with_no_compile = True
555
+ exec(f"{k.replace('root[', 'cfg[')} = {k.replace('root[', 'self.cfg[')}")
556
+ # for any new values, update the old checkpoint config
557
+ if "dictionary_item_added" in diff:
558
+ for new_key in diff['dictionary_item_added']: # this is a list
559
+ # if new_key == "root['suite']['task_make_fn']['observation_cfg']":
560
+ if new_key == "root['suite']['task_make_fn']['agent_policy_cfg']":
561
+ # pass the agents observation_cfg to the suite task_make_fn
562
+ with open_dict(cfg): # to allow addition of non-existing keys
563
+ # cfg.suite.task_make_fn.observation_cfg = cfg.agent.config.observation_cfg
564
+ cfg.suite.task_make_fn.agent_policy_cfg = cfg.agent.config
565
+ continue
566
+ elif "['agent']['config']['policy_cfg']['input_shapes']" in new_key:
567
+ # skip adding the new key if it is the input_shapes of the policy_cfg
568
+ continue
569
+ else:
570
+ print(f"Found new key {new_key} with value {eval(new_key.replace('root[', 'self.cfg['))}. Adding to checkpoint config")
571
+ # eval(new_key.replace('root', 'cfg')) = eval(new_key.replace('root', 'self.cfg'))
572
+ if new_key == "root['agent']['config']['compile']":
573
+ if self.cfg.agent.config.compile:
574
+ self.loading_uncompiled_checkpoint_with_compile = True
575
+
576
+ with open_dict(cfg):
577
+ exec(f"{new_key.replace('root[', 'cfg[')}={new_key.replace('root[', 'self.cfg[')}")
578
+ self.cfg = cfg
579
+
580
+ def load_checkpoint(self, snapshot_path, bc=False):
581
+ print(f'resuming {repr(self.agent)}: {snapshot_path}')
582
+ with snapshot_path.open('rb') as f:
583
+ payload = torch.load(f)
584
+ agent_payload = {}
585
+ for k, v in payload.items():
586
+ if k not in self.__dict__:
587
+ agent_payload[k] = v
588
+ elif k == '_global_epoch':
589
+ self._global_epoch = v
590
+ print(f'loaded epoch: {v}')
591
+ if self.cfg.use_wandb:
592
+ # add to config of wandb
593
+ wandb.config.update({'epoch': v})
594
+
595
+ # self.agent.load_snapshot_eval(agent_payload, bc)
596
+
597
+ @hydra.main(config_path='cfgs', config_name='config_eval')
598
+ def main(cfg):
599
+ from eval_robot import Workspace as W
600
+ root_dir = Path.cwd()
601
+ workspace = W(cfg)
602
+
603
+ workspace.eval()
604
+
605
+ if __name__ == '__main__':
606
+ main()
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/config.yaml ADDED
@@ -0,0 +1,927 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ wandb_version: 1
2
+
3
+ root_dir:
4
+ desc: null
5
+ value: /home/leonmkim/fish_leon
6
+ replay_buffer_size:
7
+ desc: null
8
+ value: 150000
9
+ replay_buffer_num_workers:
10
+ desc: null
11
+ value: 2
12
+ nstep:
13
+ desc: null
14
+ value: 3
15
+ batch_size:
16
+ desc: null
17
+ value: 128
18
+ seed:
19
+ desc: null
20
+ value: 0
21
+ dataset_shuffle_seed:
22
+ desc: null
23
+ value: 0
24
+ device:
25
+ desc: null
26
+ value: cuda
27
+ save_video:
28
+ desc: null
29
+ value: true
30
+ save_train_video:
31
+ desc: null
32
+ value: true
33
+ use_tb:
34
+ desc: null
35
+ value: true
36
+ use_wandb:
37
+ desc: null
38
+ value: true
39
+ wandb_run_id:
40
+ desc: null
41
+ value: '3456_0'
42
+ wandb_notes:
43
+ desc: null
44
+ value: 3456_0_req_3921_0
45
+ eval:
46
+ desc: null
47
+ value: true
48
+ true_action_history:
49
+ desc: null
50
+ value: false
51
+ train_pad_after:
52
+ desc: null
53
+ value: 4
54
+ process_contact_features:
55
+ desc: null
56
+ value: true
57
+ obs_type:
58
+ desc: null
59
+ value: pixels
60
+ use_color:
61
+ desc: null
62
+ value: false
63
+ use_depth:
64
+ desc: null
65
+ value: true
66
+ use_masks:
67
+ desc: null
68
+ value: true
69
+ mask_list:
70
+ desc: null
71
+ value:
72
+ - EE_obj_mask
73
+ mask_representation:
74
+ desc: null
75
+ value: channels
76
+ crop_hw:
77
+ desc: null
78
+ value:
79
+ - 144
80
+ - 144
81
+ crop_down_offset:
82
+ desc: null
83
+ value: 48
84
+ color_crop_type:
85
+ desc: null
86
+ value: null
87
+ depth_crop_type:
88
+ desc: null
89
+ value: null
90
+ segmask_crop_type:
91
+ desc: null
92
+ value: null
93
+ add_crop_binary_mask:
94
+ desc: null
95
+ value: false
96
+ add_coord_conv_map:
97
+ desc: null
98
+ value: false
99
+ use_context_color:
100
+ desc: null
101
+ value: false
102
+ use_context_depth:
103
+ desc: null
104
+ value: false
105
+ use_context_segmask:
106
+ desc: null
107
+ value: false
108
+ context_color_crop_type:
109
+ desc: null
110
+ value: null
111
+ context_depth_crop_type:
112
+ desc: null
113
+ value: null
114
+ context_segmask_crop_type:
115
+ desc: null
116
+ value: null
117
+ context_add_crop_binary_mask:
118
+ desc: null
119
+ value: false
120
+ context_add_coord_conv_map:
121
+ desc: null
122
+ value: false
123
+ use_contact_map:
124
+ desc: null
125
+ value: false
126
+ use_sdf_maps:
127
+ desc: null
128
+ value: false
129
+ use_normals_maps:
130
+ desc: null
131
+ value: false
132
+ which_objects:
133
+ desc: null
134
+ value: both
135
+ max_contact_prob:
136
+ desc: null
137
+ value: 0.1
138
+ max_depth:
139
+ desc: null
140
+ value: 2.0
141
+ grasped_dtc_max_value:
142
+ desc: null
143
+ value: 0.2
144
+ env_dtc_max_value:
145
+ desc: null
146
+ value: 0.4
147
+ grasped_normals_mask_max_dtc_value:
148
+ desc: null
149
+ value: 0.2
150
+ env_normals_mask_max_dtc_value:
151
+ desc: null
152
+ value: 0.4
153
+ clamp_dtc:
154
+ desc: null
155
+ value: true
156
+ dtc_adaptive_normalization:
157
+ desc: null
158
+ value: false
159
+ mask_normals_within_sdf:
160
+ desc: null
161
+ value: true
162
+ adaptive_normals_mask:
163
+ desc: null
164
+ value: true
165
+ learnable_contact_preprocess_params:
166
+ desc: null
167
+ value: true
168
+ contact_model_name:
169
+ desc: null
170
+ value: local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9
171
+ contact_estimation_model_ckpt_path:
172
+ desc: null
173
+ value: ~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt
174
+ encoder_type:
175
+ desc: null
176
+ value: small
177
+ debug_timestamps:
178
+ desc: null
179
+ value: false
180
+ open_loop:
181
+ desc: null
182
+ value: false
183
+ action_trajectories:
184
+ desc: null
185
+ value: true
186
+ stop_after_action:
187
+ desc: null
188
+ value: false
189
+ interpolation_frequency:
190
+ desc: null
191
+ value: 25
192
+ policy_frequency:
193
+ desc: null
194
+ value: 5
195
+ wait_for_new_camera_frames:
196
+ desc: null
197
+ value: true
198
+ baseline:
199
+ desc: null
200
+ value: false
201
+ train_demo_idxs_list_or_num:
202
+ desc: null
203
+ value: -1
204
+ log_train_every_steps:
205
+ desc: null
206
+ value: 25
207
+ name_of_expert_demo:
208
+ desc: null
209
+ value: 120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
210
+ expert_dataset_dirpath:
211
+ desc: null
212
+ value: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
213
+ store_dataset_in_memory:
214
+ desc: null
215
+ value: false
216
+ expert_dataset:
217
+ desc: null
218
+ value: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr
219
+ action_key:
220
+ desc: null
221
+ value: action_trajectory_25hz
222
+ semantic_demo_grouping_name:
223
+ desc: null
224
+ value: semantic_demo_grouping.yaml
225
+ semantic_demo_grouping:
226
+ desc: null
227
+ value: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml
228
+ include_groups_list:
229
+ desc: null
230
+ value: all
231
+ expert_dataset_config:
232
+ desc: null
233
+ value: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demo_config.yaml
234
+ name_of_valid_demo:
235
+ desc: null
236
+ value: 120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
237
+ valid_dataset_dir:
238
+ desc: null
239
+ value: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr
240
+ valid_demo_idxs_list_or_num:
241
+ desc: null
242
+ value: null
243
+ val_num_groups:
244
+ desc: null
245
+ value: 5
246
+ load_bc:
247
+ desc: null
248
+ value: true
249
+ checkpoint_epoch_list:
250
+ desc: null
251
+ value:
252
+ - 99
253
+ - 199
254
+ - 299
255
+ - 399
256
+ - 499
257
+ - 599
258
+ - 699
259
+ - 799
260
+ - 899
261
+ - 999
262
+ - 1249
263
+ - 1499
264
+ - 1749
265
+ - 1999
266
+ - 2999
267
+ - 3999
268
+ - 4999
269
+ - 5999
270
+ - 6999
271
+ - 7999
272
+ - 8999
273
+ - 9999
274
+ snapshot_root_dir:
275
+ desc: null
276
+ value: /mnt/grasp_high_usage/leonmkim/contact_estimation/FISH
277
+ save_snapshot:
278
+ desc: null
279
+ value: true
280
+ save_last_snapshot:
281
+ desc: null
282
+ value: true
283
+ save_snapshot_when_done:
284
+ desc: null
285
+ value: true
286
+ top_k_checkpoints:
287
+ desc: null
288
+ value: 5
289
+ save_snapshot_link_to_weights_dir:
290
+ desc: null
291
+ value: deprecated
292
+ restore_missing_checkpoint:
293
+ desc: null
294
+ value: null
295
+ bc_regularize:
296
+ desc: null
297
+ value: false
298
+ bc_weight_type:
299
+ desc: null
300
+ value: qfilter
301
+ experiment_dir:
302
+ desc: null
303
+ value: ./exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0
304
+ agent:
305
+ desc: null
306
+ value:
307
+ _target_: agent.diffusion_policy.DiffusionPolicyAgent
308
+ name: diffusion_policy
309
+ load_checkpoint: true
310
+ device: cuda
311
+ n_obs_steps: 1
312
+ suite_name: frankagym
313
+ obs_type: pixels
314
+ enable_arm: true
315
+ enable_camera: true
316
+ use_tb: true
317
+ desired_image_shape:
318
+ - 13
319
+ - 180
320
+ - 240
321
+ orig_cam_shape:
322
+ - 3
323
+ - 240
324
+ - 320
325
+ config:
326
+ _target_: agent.diffusion_policy.DiffusionPolicyAgentConfig
327
+ compile: false
328
+ device: cuda
329
+ cam_resize_shape:
330
+ - 13
331
+ - 180
332
+ - 240
333
+ orig_cam_shape:
334
+ - 3
335
+ - 240
336
+ - 320
337
+ policy_frequency: 5
338
+ interpolation_frequency: 25
339
+ policy_cfg:
340
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig
341
+ n_obs_steps: 1
342
+ horizon: 36
343
+ n_action_steps: 36
344
+ output_shapes:
345
+ action:
346
+ - 7
347
+ input_normalization_modes:
348
+ observation.image: mean_std
349
+ observation.state: min_max
350
+ observation.action_history: min_max
351
+ output_normalization_modes:
352
+ action: min_max
353
+ vision_backbone: resnet18
354
+ crop_distractors_tlhw:
355
+ - 32
356
+ - 68
357
+ - 174
358
+ - 174
359
+ pretrained_backbone_weights: null
360
+ transforms:
361
+ - _target_: torchaug.transforms.RandomAffine
362
+ degrees:
363
+ - -5
364
+ - 5
365
+ translate:
366
+ - 0.05
367
+ - 0.05
368
+ batch_transform: true
369
+ num_chunks: -1
370
+ batch_inplace: true
371
+ - _target_: torchaug.transforms.RandomColorJitter
372
+ brightness: 0.3
373
+ contrast: 0.4
374
+ saturation: 0.5
375
+ hue: 0.08
376
+ batch_transform: true
377
+ num_chunks: -1
378
+ batch_inplace: true
379
+ use_group_norm: true
380
+ spatial_softmax_num_keypoints: 32
381
+ action_history_encoder_config:
382
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig
383
+ in_channels: 7
384
+ out_channels: 32
385
+ history_length: 6
386
+ kernel_size: 5
387
+ downsample_kernel_size: 3
388
+ downsample_stride: 2
389
+ downsample_padding: 1
390
+ down_dims:
391
+ - 256
392
+ - 512
393
+ - 1024
394
+ kernel_size: 5
395
+ n_groups: 8
396
+ diffusion_step_embed_dim: 128
397
+ use_film_scale_modulation: true
398
+ noise_scheduler_type: DDIM
399
+ beta_schedule: squaredcos_cap_v2
400
+ beta_start: 0.0001
401
+ beta_end: 0.02
402
+ prediction_type: epsilon
403
+ clip_sample: true
404
+ clip_sample_range: 1.0
405
+ num_train_timesteps: 50
406
+ num_inference_steps: 10
407
+ do_mask_loss_for_padding: false
408
+ input_shapes:
409
+ observation.image:
410
+ - 13
411
+ - 180
412
+ - 240
413
+ context_observation.image:
414
+ - 13
415
+ - 180
416
+ - 240
417
+ observation.state:
418
+ - 8
419
+ observation.action_history:
420
+ - 7
421
+ train_cfg:
422
+ _target_: utils.TrainConfig
423
+ lr: 0.0001
424
+ lr_scheduler: cosine
425
+ lr_warmup_steps: 500
426
+ adam_betas:
427
+ - 0.95
428
+ - 0.999
429
+ adam_eps: 1.0e-08
430
+ adam_weight_decay: 1.0e-06
431
+ grad_clip_norm: 10
432
+ offline_steps: 1000000
433
+ use_amp: true
434
+ observation_cfg:
435
+ _target_: agent.encoder.VisualFeatureSet
436
+ use_depth: true
437
+ use_color: false
438
+ mask_input_dict:
439
+ _target_: agent.encoder.MaskInputDict
440
+ enable: true
441
+ representation: channels
442
+ mask_list:
443
+ - EE_obj_mask
444
+ crop_input_config:
445
+ _target_: agent.encoder.CropInputConfig
446
+ color_crop_type: null
447
+ depth_crop_type: null
448
+ segmask_crop_type: null
449
+ crop_hw:
450
+ - 144
451
+ - 144
452
+ crop_down_offset: 48
453
+ add_crop_binary_mask: false
454
+ add_coord_conv_map: false
455
+ context_input_config:
456
+ _target_: agent.encoder.ContextInputConfig
457
+ use_color: false
458
+ use_depth: false
459
+ mask_input_dict:
460
+ _target_: agent.encoder.MaskInputDict
461
+ enable: false
462
+ representation: channels
463
+ mask_list:
464
+ - EE_obj_mask
465
+ crop_input_config:
466
+ _target_: agent.encoder.CropInputConfig
467
+ color_crop_type: null
468
+ depth_crop_type: null
469
+ segmask_crop_type: null
470
+ crop_hw:
471
+ - 144
472
+ - 144
473
+ crop_down_offset: 48
474
+ add_crop_binary_mask: false
475
+ add_coord_conv_map: false
476
+ mask_soft_approx_scheduler_config:
477
+ _target_: agent.encoder.MaskSoftApproxSchedulerConfig
478
+ num_steps: 40000
479
+ initial_value: 10.0
480
+ final_value: 1000.0
481
+ interpolation_scheme: cosine
482
+ use_contact_map: false
483
+ use_sdf_maps: false
484
+ use_normals_maps: false
485
+ which_objects: both
486
+ grasped_dtc_max_value: 0.2
487
+ env_dtc_max_value: 0.4
488
+ grasped_normals_mask_max_dtc_value: 0.2
489
+ env_normals_mask_max_dtc_value: 0.4
490
+ clamp_dtc: true
491
+ max_contact_prob: 0.1
492
+ mask_normals_within_sdf: true
493
+ dtc_adaptive_normalization: false
494
+ adaptive_normals_mask: true
495
+ max_depth: 2.0
496
+ image_shape:
497
+ - 13
498
+ - 180
499
+ - 240
500
+ learnable_contact_preprocess_params: true
501
+ learning_rate: 0.0001
502
+ weight_decay: 0.0
503
+ contact_model_name: local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9
504
+ zero_centered: false
505
+ crop_distractors_tlhw: null
506
+ suite:
507
+ desc: null
508
+ value:
509
+ suite: frankagym
510
+ name: frankagym
511
+ frame_stack: 1
512
+ action_repeat: 1
513
+ discount: 0.99
514
+ hidden_dim: 1024
515
+ num_train_frames: 2010
516
+ num_seed_frames: 260
517
+ num_train_epochs: 5000
518
+ validate_every_epochs: 100
519
+ validate_diffusion_on_action_loss_every_epochs: 500
520
+ train_eval_diffusion_on_action_loss_every_epochs: 500
521
+ check_topk_every_epochs: 10
522
+ save_snapshot_every_epochs: 5000
523
+ eval_every_frames: 2000
524
+ num_eval_episodes: 5
525
+ save_snapshot: true
526
+ wait_for_user_to_start_episode: true
527
+ task_make_fn:
528
+ _target_: suite.frankagym.make
529
+ name: FrankaInsertion-v1
530
+ height: 240
531
+ width: 320
532
+ frame_stack: 1
533
+ action_repeat: 1
534
+ seed: 0
535
+ enable_arm: true
536
+ enable_gripper: true
537
+ start_with_gripper_open: true
538
+ enable_camera: true
539
+ path_to_depth_extrinsics: ~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy
540
+ contact_estimation_model_ckpt_path: ~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt
541
+ x_limit:
542
+ - 0.2
543
+ - 0.7
544
+ y_limit:
545
+ - -0.4
546
+ - 0.4
547
+ z_limit:
548
+ - -0.05
549
+ - 0.55
550
+ device: cuda
551
+ interpolation_frequency: 25
552
+ policy_frequency: 5
553
+ debug_timestamps: false
554
+ stop_after_action: false
555
+ open_loop: false
556
+ wait_for_new_camera_frames: true
557
+ action_key: action_trajectory_25hz
558
+ action_trajectory_horizon: 36
559
+ action_trajectories: true
560
+ path_to_zarr_dataset: /home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr
561
+ agent_policy_cfg:
562
+ _target_: agent.diffusion_policy.DiffusionPolicyAgentConfig
563
+ compile: false
564
+ device: cuda
565
+ cam_resize_shape:
566
+ - 13
567
+ - 180
568
+ - 240
569
+ orig_cam_shape:
570
+ - 3
571
+ - 240
572
+ - 320
573
+ policy_frequency: 5
574
+ interpolation_frequency: 25
575
+ policy_cfg:
576
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig
577
+ n_obs_steps: 1
578
+ horizon: 36
579
+ n_action_steps: 36
580
+ output_shapes:
581
+ action:
582
+ - 7
583
+ input_normalization_modes:
584
+ observation.image: mean_std
585
+ observation.state: min_max
586
+ observation.action_history: min_max
587
+ output_normalization_modes:
588
+ action: min_max
589
+ vision_backbone: resnet18
590
+ crop_distractors_tlhw:
591
+ - 32
592
+ - 68
593
+ - 174
594
+ - 174
595
+ pretrained_backbone_weights: null
596
+ transforms:
597
+ - _target_: torchaug.transforms.RandomAffine
598
+ degrees:
599
+ - -5
600
+ - 5
601
+ translate:
602
+ - 0.05
603
+ - 0.05
604
+ batch_transform: true
605
+ num_chunks: -1
606
+ batch_inplace: true
607
+ - _target_: torchaug.transforms.RandomColorJitter
608
+ brightness: 0.3
609
+ contrast: 0.4
610
+ saturation: 0.5
611
+ hue: 0.08
612
+ batch_transform: true
613
+ num_chunks: -1
614
+ batch_inplace: true
615
+ use_group_norm: true
616
+ spatial_softmax_num_keypoints: 32
617
+ action_history_encoder_config:
618
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig
619
+ in_channels: 7
620
+ out_channels: 32
621
+ history_length: 6
622
+ kernel_size: 5
623
+ downsample_kernel_size: 3
624
+ downsample_stride: 2
625
+ downsample_padding: 1
626
+ down_dims:
627
+ - 256
628
+ - 512
629
+ - 1024
630
+ kernel_size: 5
631
+ n_groups: 8
632
+ diffusion_step_embed_dim: 128
633
+ use_film_scale_modulation: true
634
+ noise_scheduler_type: DDIM
635
+ beta_schedule: squaredcos_cap_v2
636
+ beta_start: 0.0001
637
+ beta_end: 0.02
638
+ prediction_type: epsilon
639
+ clip_sample: true
640
+ clip_sample_range: 1.0
641
+ num_train_timesteps: 50
642
+ num_inference_steps: 10
643
+ do_mask_loss_for_padding: false
644
+ input_shapes:
645
+ observation.image:
646
+ - 13
647
+ - 180
648
+ - 240
649
+ context_observation.image:
650
+ - 13
651
+ - 180
652
+ - 240
653
+ observation.state:
654
+ - 8
655
+ observation.action_history:
656
+ - 7
657
+ train_cfg:
658
+ _target_: utils.TrainConfig
659
+ lr: 0.0001
660
+ lr_scheduler: cosine
661
+ lr_warmup_steps: 500
662
+ adam_betas:
663
+ - 0.95
664
+ - 0.999
665
+ adam_eps: 1.0e-08
666
+ adam_weight_decay: 1.0e-06
667
+ grad_clip_norm: 10
668
+ offline_steps: 1000000
669
+ use_amp: true
670
+ observation_cfg:
671
+ _target_: agent.encoder.VisualFeatureSet
672
+ use_depth: true
673
+ use_color: false
674
+ mask_input_dict:
675
+ _target_: agent.encoder.MaskInputDict
676
+ enable: true
677
+ representation: channels
678
+ mask_list:
679
+ - EE_obj_mask
680
+ crop_input_config:
681
+ _target_: agent.encoder.CropInputConfig
682
+ color_crop_type: null
683
+ depth_crop_type: null
684
+ segmask_crop_type: null
685
+ crop_hw:
686
+ - 144
687
+ - 144
688
+ crop_down_offset: 48
689
+ add_crop_binary_mask: false
690
+ add_coord_conv_map: false
691
+ context_input_config:
692
+ _target_: agent.encoder.ContextInputConfig
693
+ use_color: false
694
+ use_depth: false
695
+ mask_input_dict:
696
+ _target_: agent.encoder.MaskInputDict
697
+ enable: false
698
+ representation: channels
699
+ mask_list:
700
+ - EE_obj_mask
701
+ crop_input_config:
702
+ _target_: agent.encoder.CropInputConfig
703
+ color_crop_type: null
704
+ depth_crop_type: null
705
+ segmask_crop_type: null
706
+ crop_hw:
707
+ - 144
708
+ - 144
709
+ crop_down_offset: 48
710
+ add_crop_binary_mask: false
711
+ add_coord_conv_map: false
712
+ mask_soft_approx_scheduler_config:
713
+ _target_: agent.encoder.MaskSoftApproxSchedulerConfig
714
+ num_steps: 40000
715
+ initial_value: 10.0
716
+ final_value: 1000.0
717
+ interpolation_scheme: cosine
718
+ use_contact_map: false
719
+ use_sdf_maps: false
720
+ use_normals_maps: false
721
+ which_objects: both
722
+ grasped_dtc_max_value: 0.2
723
+ env_dtc_max_value: 0.4
724
+ grasped_normals_mask_max_dtc_value: 0.2
725
+ env_normals_mask_max_dtc_value: 0.4
726
+ clamp_dtc: true
727
+ max_contact_prob: 0.1
728
+ mask_normals_within_sdf: true
729
+ dtc_adaptive_normalization: false
730
+ adaptive_normals_mask: true
731
+ max_depth: 2.0
732
+ image_shape:
733
+ - 13
734
+ - 180
735
+ - 240
736
+ learnable_contact_preprocess_params: true
737
+ learning_rate: 0.0001
738
+ weight_decay: 0.0
739
+ contact_model_name: local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9
740
+ zero_centered: false
741
+ true_action_history: false
742
+ num_train_frames_bc:
743
+ desc: null
744
+ value: 50000
745
+ num_train_frames_drq:
746
+ desc: null
747
+ value: 1100000
748
+ stddev_schedule_drq:
749
+ desc: null
750
+ value: linear(1.0,0.1,100000)
751
+ task_name:
752
+ desc: null
753
+ value: FrankaInsertion-v1
754
+ num_train_frames_vinn:
755
+ desc: null
756
+ value: 25000
757
+ num_train_frames_diffusion:
758
+ desc: null
759
+ value: 1000000
760
+ num_train_epochs_bc:
761
+ desc: null
762
+ value: 5000
763
+ num_train_epochs_diffusion:
764
+ desc: null
765
+ value: 15000
766
+ validate_every_epochs_bc:
767
+ desc: null
768
+ value: 5
769
+ validate_every_epochs_diffusion:
770
+ desc: null
771
+ value: 250
772
+ validate_diffusion_on_action_loss_every_epochs:
773
+ desc: null
774
+ value: 250
775
+ train_eval_diffusion_on_action_loss_every_epochs:
776
+ desc: null
777
+ value: 250
778
+ check_topk_every_epochs:
779
+ desc: null
780
+ value: 5
781
+ check_topk_every_epochs_diffusion:
782
+ desc: null
783
+ value: 250
784
+ save_snapshot_every_epochs_diffusion:
785
+ desc: null
786
+ value: 1500
787
+ x_limit:
788
+ desc: null
789
+ value:
790
+ - 0.2
791
+ - 0.7
792
+ y_limit:
793
+ desc: null
794
+ value:
795
+ - -0.4
796
+ - 0.4
797
+ z_limit:
798
+ desc: null
799
+ value:
800
+ - -0.05
801
+ - 0.55
802
+ home_displacement:
803
+ desc: null
804
+ value:
805
+ - 0.55
806
+ - 0.0
807
+ - 0.55
808
+ - 180.0
809
+ - 0.0
810
+ - 0.0
811
+ enable_gripper:
812
+ desc: null
813
+ value: true
814
+ start_with_gripper_open:
815
+ desc: null
816
+ value: true
817
+ offset_mask:
818
+ desc: null
819
+ value:
820
+ - 1
821
+ - 1
822
+ - 1
823
+ - 1
824
+ - 1
825
+ - 1
826
+ path_to_depth_extrinsics:
827
+ desc: null
828
+ value: ~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy
829
+ test:
830
+ desc: null
831
+ value:
832
+ username: leonmkim
833
+ hostname: grasp-login1
834
+ name_of_expert_demo: 112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
835
+ root_dir: ~/fish_leon
836
+ expert_dataset_dirpath: ~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
837
+ expert_dataset: ~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr
838
+ semantic_demo_grouping_name: semantic_demo_grouping.yaml
839
+ semantic_demo_grouping: ~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml
840
+ include_groups_list: all
841
+ batch_size: 128
842
+ store_dataset_in_memory: false
843
+ use_tb: true
844
+ local_snapshot_root_dir: /mnt/bighdd/fish_contact_backup
845
+ local_snapshot_dir: /mnt/bighdd/fish_contact_backup/exp_local/frankagym_pixels/FrankaInsertion-v1
846
+ resume_wandb_run: false
847
+ feature_type:
848
+ desc: null
849
+ value: 180x240_crpdstlhw24x51x130x130_1_D_2.0_msk_channels_EE_obj_mask_acthist_hst6_out32_dwnkrnl3_dwnstrd2_dwnpd1
850
+ save_buffer:
851
+ desc: null
852
+ value: true
853
+ num_eval:
854
+ desc: null
855
+ value: 20
856
+ random_start:
857
+ desc: null
858
+ value: false
859
+ eval_starts:
860
+ desc: null
861
+ value: /home/leonmkim/fish_leon/FISH/eval_starts/frankagym_pixels/FrankaInsertion-v1
862
+ num_valid_demos:
863
+ desc: null
864
+ value: null
865
+ load_checkpoint:
866
+ desc: null
867
+ value: true
868
+ checkpoint_epoch:
869
+ desc: null
870
+ value: 12000
871
+ load_residual_weight:
872
+ desc: null
873
+ value: false
874
+ checkpoint_root_dir:
875
+ desc: null
876
+ value: /home/leonmkim/fish_leon/FISH
877
+ checkpoint_weight_dir:
878
+ desc: null
879
+ value: /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0
880
+ residual_weight:
881
+ desc: null
882
+ value: /home/leonmkim/fish_leon/FISH/weights/frankagym_pixels/FrankaInsertion-v1/weight.pt
883
+ final_experiment_dir:
884
+ desc: null
885
+ value: ./exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d
886
+ _wandb:
887
+ desc: null
888
+ value:
889
+ code_path: code/FISH/eval_robot.py
890
+ python_version: 3.10.14
891
+ cli_version: 0.17.5
892
+ framework: torch
893
+ is_jupyter_run: false
894
+ is_kaggle_kernel: false
895
+ start_time: 1737144644
896
+ t:
897
+ 1:
898
+ - 1
899
+ - 41
900
+ - 49
901
+ - 50
902
+ - 55
903
+ - 83
904
+ 2:
905
+ - 1
906
+ - 41
907
+ - 49
908
+ - 50
909
+ - 55
910
+ - 83
911
+ 3:
912
+ - 2
913
+ - 14
914
+ - 16
915
+ - 23
916
+ - 35
917
+ 4: 3.10.14
918
+ 5: 0.17.5
919
+ 8:
920
+ - 5
921
+ 13: linux-x86_64
922
+ grasped_obj_name:
923
+ desc: null
924
+ value: greece
925
+ left_book_slot:
926
+ desc: null
927
+ value: twodim
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/diff.patch ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/FISH/cfgs/config_eval.yaml b/FISH/cfgs/config_eval.yaml
2
+ index 0b377ae..a6b1973 100644
3
+ --- a/FISH/cfgs/config_eval.yaml
4
+ +++ b/FISH/cfgs/config_eval.yaml
5
+ @@ -132,8 +132,11 @@ load_checkpoint: ${agent.load_checkpoint}
6
+ # wandb_run_id: '1000_0' # all
7
+
8
+ # all books, 10/20 demos per book
9
+ +# crp_D+act history
10
+ +wandb_run_id: '3456_0'
11
+ +# wandb_run_id: '3456_1' # seed 1
12
+ +
13
+ # RGBD+mask+act history
14
+ -wandb_run_id: '1002_0'
15
+ # wandb_run_id: '1009_1' # seed 1
16
+ # wandb_run_id: '1022_0' # dataset shuffle seed 1
17
+
18
+ diff --git a/FISH/download_model_checkpoints.py b/FISH/download_model_checkpoints.py
19
+ index e3c7dc1..d9b15a5 100644
20
+ --- a/FISH/download_model_checkpoints.py
21
+ +++ b/FISH/download_model_checkpoints.py
22
+ @@ -167,12 +167,14 @@ run_id_list = [
23
+ # '1948_0',
24
+ # '1950_0',
25
+ # '1954_1',
26
+ - '1002_0',
27
+ - '1009_1',
28
+ - '1022_0',
29
+ - '1003_0',
30
+ - '1013_1',
31
+ - '1017_0',
32
+ + # '1002_0',
33
+ + # '1009_1',
34
+ + # '1022_0',
35
+ + # '1003_0',
36
+ + # '1013_1',
37
+ + # '1017_0',
38
+ + # '3456_0',
39
+ + '3456_1',
40
+ ]
41
+
42
+ checkpoint_epoch = 12000
43
+ diff --git a/FISH/eval_policy.py b/FISH/eval_policy.py
44
+ index 0ad179a..f5cfc13 100644
45
+ --- a/FISH/eval_policy.py
46
+ +++ b/FISH/eval_policy.py
47
+ @@ -89,9 +89,10 @@ class Workspace:
48
+ # Need to convert hydra config to primitive container for wandb https://docs.wandb.ai/guides/integrations/hydra
49
+ with open_dict(self.cfg):
50
+ self.cfg.feature_type = get_feature_dirname_from_configs(
51
+ - hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
52
+ - self.cfg.agent.config.policy_cfg.input_shapes,
53
+ - hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
54
+ + hydra.utils.instantiate(self.cfg.agent.config),
55
+ + # hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
56
+ + # self.cfg.agent.config.policy_cfg.input_shapes,
57
+ + # hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
58
+ )
59
+
60
+ if not self.loading_uncompiled_checkpoint_with_compile and self.cfg.agent.config.compile:
61
+ diff --git a/FISH/eval_robot.py b/FISH/eval_robot.py
62
+ index 50493fe..905b769 100644
63
+ --- a/FISH/eval_robot.py
64
+ +++ b/FISH/eval_robot.py
65
+ @@ -83,9 +83,10 @@ class Workspace:
66
+ # Need to convert hydra config to primitive container for wandb https://docs.wandb.ai/guides/integrations/hydra
67
+ with open_dict(self.cfg):
68
+ self.cfg.feature_type = get_feature_dirname_from_configs(
69
+ - hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
70
+ - self.cfg.agent.config.policy_cfg.input_shapes,
71
+ - hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
72
+ + hydra.utils.instantiate(self.cfg.agent.config),
73
+ + # hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
74
+ + # self.cfg.agent.config.policy_cfg.input_shapes,
75
+ + # hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
76
+ )
77
+
78
+ wandb_config = OmegaConf.to_container(
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/0_eval_0_98c68d418db5b73df1b0.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98c68d418db5b73df1b05761452a845f5a35493133d7805bbed1dc89315be5c9
3
+ size 1167172
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/10_eval_10_dc26db5ffbb288ebf69b.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc26db5ffbb288ebf69be3b37f1a149b05a67b55add127df99546db602a0c6ce
3
+ size 1385355
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/11_eval_11_f83167404e8bb0859778.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83167404e8bb0859778ab785b3ec72f319922e32ba8be47628685d52a3fb45e
3
+ size 1451754
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/1_eval_1_fe99acb9f5fbe6b6c23e.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe99acb9f5fbe6b6c23e6a1f518986a970f45769de1d4acd955b9b5f9bb5e789
3
+ size 1154808
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/2_eval_2_a9b669c92c8beee6656c.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9b669c92c8beee6656cacd11f615b7c5aee743d336e4b927a08eddfab14d19b
3
+ size 1163094
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/3_eval_3_2988eff819b475f13199.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2988eff819b475f131997a6481c4c4ca6d5d6a9124cea83e7998596e71612259
3
+ size 1160636
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/4_eval_4_8487a970815421048be9.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8487a970815421048be960754b4caeed67e948d55be1d9121a1fb0628f53fb10
3
+ size 1171773
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/5_eval_5_5eccb1be08111ca14e10.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eccb1be08111ca14e10f50c8b05a5c13c37a164fba6aaa66d39310d8cfd12f3
3
+ size 1269853
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/6_eval_6_5f3fdb589a9c504e4946.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3fdb589a9c504e49465abf5578b1e48353445b5fb7da025d1597ab32b5a0b7
3
+ size 1231149
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/7_eval_7_eab2215188c302c460ba.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab2215188c302c460ba00e7f817b9602d979b290be42c792b2cff46a93ae595
3
+ size 1153200
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/8_eval_8_50d0e7e81a609c529244.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50d0e7e81a609c529244b4bf0955c640353908a3899746c56f1df81d8ea406b8
3
+ size 1174619
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/9_eval_9_9a2233becb7986a47e63.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2233becb7986a47e63b28b21334780efa49c26963ca4e624fb1db5d670d747
3
+ size 1362409
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/media/videos/eval/video_12_25445a41b5bbda0ed7e2.mp4 ADDED
Binary file (262 Bytes). View file
 
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/output.log ADDED
@@ -0,0 +1,624 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ loaded agent with feature_type: 180x240_crpdstlhw24x51x130x130_1_D_2.0_msk_channels_EE_obj_mask_acthist_hst6_out32_dwnkrnl3_dwnstrd2_dwnpd1
3
+ [INFO] [1737144651.874398]: resetting environment
4
+ [INFO] [1737144651.878342]: cleared current plan
5
+ [INFO] [1737144651.879937]: moving to home
6
+ [INFO] [1737144652.885069]: reached home
7
+ [INFO] [1737144652.886333]: reset action history
8
+ [INFO] [1737144655.595084]: environment reset
9
+ Starting episode 0
10
+ [INFO] [1737144655.598425]: resetting environment
11
+ [INFO] [1737144655.601082]: cleared current plan
12
+ [INFO] [1737144655.601864]: moving to home
13
+ [INFO] [1737144656.604273]: reached home
14
+ [INFO] [1737144656.606447]: reset action history
15
+ [INFO] [1737144659.315314]: environment reset
16
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
17
+ proceeding to start episode![INFO] [1737144693.361197]: resetting environment
18
+ [INFO] [1737144693.365009]: cleared current plan
19
+ [INFO] [1737144693.366265]: moving to home
20
+ [INFO] [1737144694.368660]: reached home
21
+ [INFO] [1737144694.370304]: reset action history
22
+ [INFO] [1737144697.078603]: environment reset
23
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_0_2025-01-17-15-11-37.bag
24
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
25
+ started roslaunch server http://158.130.50.37:40717/
26
+ SUMMARY
27
+ ========
28
+ PARAMETERS
29
+ * /rosdistro: noetic
30
+ * /rosversion: 1.16.0
31
+ NODES
32
+ /
33
+ print_text (rostopic/rostopic)
34
+ pub_text (rostopic/rostopic)
35
+ rosbag_record (rosbag/record)
36
+ ROS_MASTER_URI=http://localhost:11311
37
+ process[pub_text-1]: started with pid [2520945]
38
+ process[print_text-2]: started with pid [2520969]
39
+ process[rosbag_record-3]: started with pid [2520970]
40
+ started bagging!
41
+ [INFO] [1737144724.066419]: Storing episode...
42
+ [rosbag_record-3] killing on exit
43
+ [print_text-2] killing on exit[pub_text-1] killing on exit
44
+ [INFO] [1737144724.805359]: Stored episode 1.
45
+ [INFO] [1737144724.806252]: Saving video...
46
+ [INFO] [1737144724.992316]: Video saved!
47
+ Starting episode 1
48
+ [INFO] [1737144725.018863]: resetting environment
49
+ [INFO] [1737144725.030731]: cleared current plan
50
+ [INFO] [1737144725.031056]: moving to home
51
+ [INFO] [1737144728.633262]: reached home
52
+ [INFO] [1737144728.633700]: reset action history
53
+ [INFO] [1737144731.341347]: environment reset
54
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
55
+ proceeding to start episode!Comuting lower confidence bound
56
+ Comuting upper confidence bound
57
+ Comuting lower confidence bound
58
+ Comuting upper confidence bound
59
+ Comuting lower confidence bound
60
+ Comuting upper confidence bound
61
+ Comuting lower confidence bound
62
+ Comuting upper confidence bound
63
+ [INFO] [1737144744.681671]: resetting environment
64
+ [INFO] [1737144744.685477]: cleared current plan
65
+ [INFO] [1737144744.685823]: moving to home
66
+ [INFO] [1737144745.688077]: reached home
67
+ [INFO] [1737144745.688575]: reset action history
68
+ [INFO] [1737144748.394022]: environment reset
69
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_1_2025-01-17-15-12-28.bag
70
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
71
+ started roslaunch server http://158.130.50.37:46563/
72
+ SUMMARY
73
+ ========
74
+ PARAMETERS
75
+ * /rosdistro: noetic
76
+ * /rosversion: 1.16.0
77
+ NODES
78
+ /
79
+ print_text (rostopic/rostopic)
80
+ pub_text (rostopic/rostopic)
81
+ rosbag_record (rosbag/record)
82
+ ROS_MASTER_URI=http://localhost:11311
83
+ process[pub_text-4]: started with pid [2521090]
84
+ process[print_text-5]: started with pid [2521091]
85
+ process[rosbag_record-6]: started with pid [2521115]
86
+ started bagging!
87
+ For topic gripper_width: timestamp difference is 122833191 for nearest: 1737144748977284371 - target: 1737144748854451180 at idx 10
88
+ For topic gripper_width: timestamp difference is -108415682 for nearest: 1737144751377231281 - target: 1737144751485646963 at idx 38
89
+ For topic gripper_width: timestamp difference is -116690361 for nearest: 1737144754377282656 - target: 1737144754493973017 at idx 80
90
+ For topic gripper_width: timestamp difference is 104710130 for nearest: 1737144764977276115 - target: 1737144764872565985 at idx 222
91
+ For topic gripper_width: timestamp difference is 109381331 for nearest: 1737144773377322806 - target: 1737144773267941475 at idx 249
92
+ [INFO] [1737144775.351117]: Storing episode...
93
+ [rosbag_record-6] killing on exit
94
+ [print_text-5] killing on exit
95
+ [pub_text-4] killing on exit
96
+ [INFO] [1737144776.129943]: Stored episode 2.
97
+ [INFO] [1737144776.130370]: Saving video...
98
+ [INFO] [1737144776.591710]: Video saved!
99
+ Starting episode 2
100
+ [INFO] [1737144776.635984]: resetting environment
101
+ [INFO] [1737144776.658639]: cleared current plan
102
+ [INFO] [1737144776.659009]: moving to home
103
+ [INFO] [1737144780.265245]: reached home
104
+ [INFO] [1737144780.266698]: reset action history
105
+ [INFO] [1737144783.057635]: environment reset
106
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
107
+ proceeding to start episode!Comuting lower confidence bound
108
+ Comuting upper confidence bound
109
+ Comuting lower confidence bound
110
+ Comuting upper confidence bound
111
+ Comuting lower confidence bound
112
+ Comuting upper confidence bound
113
+ Comuting lower confidence bound
114
+ Comuting upper confidence bound
115
+ [INFO] [1737144787.347223]: resetting environment
116
+ [INFO] [1737144787.365821]: cleared current plan
117
+ [INFO] [1737144787.367276]: moving to home
118
+ [INFO] [1737144788.376415]: reached home
119
+ [INFO] [1737144788.379158]: reset action history
120
+ [INFO] [1737144791.137455]: environment reset
121
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_2_2025-01-17-15-13-11.bag
122
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
123
+ started roslaunch server http://158.130.50.37:42745/
124
+ SUMMARY
125
+ ========
126
+ PARAMETERS
127
+ * /rosdistro: noetic
128
+ * /rosversion: 1.16.0
129
+ NODES
130
+ /
131
+ print_text (rostopic/rostopic)
132
+ pub_text (rostopic/rostopic)
133
+ rosbag_record (rosbag/record)
134
+ ROS_MASTER_URI=http://localhost:11311
135
+ process[pub_text-7]: started with pid [2521247]
136
+ process[print_text-8]: started with pid [2521248]
137
+ process[rosbag_record-9]: started with pid [2521249]
138
+ started bagging!
139
+ For topic gripper_width: timestamp difference is 102115072 for nearest: 1737144805644025959 - target: 1737144805541910887 at idx 203
140
+ [INFO] [1737144818.210732]: Storing episode...
141
+ [rosbag_record-9] killing on exit
142
+ [print_text-8] killing on exit
143
+ [pub_text-7] killing on exit
144
+ [INFO] [1737144819.014337]: Stored episode 3.
145
+ [INFO] [1737144819.015495]: Saving video...
146
+ [INFO] [1737144819.303401]: Video saved!
147
+ Starting episode 3
148
+ [INFO] [1737144819.361428]: resetting environment
149
+ [INFO] [1737144819.395255]: cleared current plan
150
+ [INFO] [1737144819.409643]: moving to home
151
+ [INFO] [1737144823.019958]: reached home
152
+ [INFO] [1737144823.025064]: reset action history
153
+ [INFO] [1737144825.814686]: environment reset
154
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
155
+ proceeding to start episode!Comuting lower confidence bound
156
+ Comuting upper confidence bound
157
+ Comuting lower confidence bound
158
+ Comuting upper confidence bound
159
+ Comuting lower confidence bound
160
+ Comuting upper confidence bound
161
+ Comuting lower confidence bound
162
+ Comuting upper confidence bound
163
+ [INFO] [1737144828.693485]: resetting environment
164
+ [INFO] [1737144828.710365]: cleared current plan
165
+ [INFO] [1737144828.712851]: moving to home
166
+ [INFO] [1737144829.720586]: reached home
167
+ [INFO] [1737144829.726746]: reset action history
168
+ [INFO] [1737144832.502596]: environment reset
169
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_3_2025-01-17-15-13-52.bag
170
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
171
+ started roslaunch server http://158.130.50.37:42169/
172
+ SUMMARY
173
+ ========
174
+ PARAMETERS
175
+ * /rosdistro: noetic
176
+ * /rosversion: 1.16.0
177
+ NODES
178
+ /
179
+ print_text (rostopic/rostopic)
180
+ pub_text (rostopic/rostopic)
181
+ rosbag_record (rosbag/record)
182
+ ROS_MASTER_URI=http://localhost:11311
183
+ process[pub_text-10]: started with pid [2521399]
184
+ process[print_text-11]: started with pid [2521400]
185
+ process[rosbag_record-12]: started with pid [2521401]
186
+ started bagging!
187
+ For topic gripper_width: timestamp difference is 127025438 for nearest: 1737144836643933607 - target: 1737144836516908169 at idx 63
188
+ For topic gripper_width: timestamp difference is 100162523 for nearest: 1737144844843937414 - target: 1737144844743774891 at idx 187
189
+ For topic gripper_width: timestamp difference is 100863805 for nearest: 1737144845643983951 - target: 1737144845543120146 at idx 197
190
+ For topic gripper_width: timestamp difference is 102171588 for nearest: 1737144847243968654 - target: 1737144847141797066 at idx 215
191
+ For topic gripper_width: timestamp difference is 103637261 for nearest: 1737144849043936534 - target: 1737144848940299273 at idx 241
192
+ For topic gripper_width: timestamp difference is 103803306 for nearest: 1737144849243934780 - target: 1737144849140131474 at idx 243
193
+ [INFO] [1737144859.623065]: Storing episode...
194
+ [print_text-11] killing on exit
195
+ [rosbag_record-12] killing on exit[pub_text-10] killing on exit
196
+ [INFO] [1737144860.440137]: Stored episode 4.
197
+ [INFO] [1737144860.446972]: Saving video...
198
+ [INFO] [1737144861.068748]: Video saved!
199
+ [WARN] [1737144860.981685]: Plan exhausted
200
+ [WARN] [1737144861.017180]: Plan exhausted
201
+ [WARN] [1737144861.057405]: Plan exhausted
202
+ [WARN] [1737144861.097440]: Plan exhausted
203
+ [WARN] [1737144861.137571]: Plan exhausted
204
+ Starting episode 4
205
+ [INFO] [1737144861.128443]: resetting environment
206
+ [INFO] [1737144861.154957]: cleared current plan
207
+ [INFO] [1737144861.155254]: moving to home
208
+ [INFO] [1737144864.758511]: reached home
209
+ [INFO] [1737144864.775942]: reset action history
210
+ [INFO] [1737144867.651920]: environment reset
211
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
212
+ proceeding to start episode!Comuting lower confidence bound
213
+ Comuting upper confidence bound
214
+ Comuting lower confidence bound
215
+ Comuting upper confidence bound
216
+ Comuting lower confidence bound
217
+ Comuting upper confidence bound
218
+ Comuting lower confidence bound
219
+ Comuting upper confidence bound
220
+ [INFO] [1737144870.177750]: resetting environment
221
+ [INFO] [1737144870.206373]: cleared current plan
222
+ [INFO] [1737144870.208797]: moving to home
223
+ [INFO] [1737144871.218974]: reached home
224
+ [INFO] [1737144871.232475]: reset action history
225
+ [INFO] [1737144874.081341]: environment reset
226
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_4_2025-01-17-15-14-34.bag
227
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
228
+ started roslaunch server http://158.130.50.37:42111/
229
+ SUMMARY
230
+ ========
231
+ PARAMETERS
232
+ * /rosdistro: noetic
233
+ * /rosversion: 1.16.0
234
+ NODES
235
+ /
236
+ print_text (rostopic/rostopic)
237
+ pub_text (rostopic/rostopic)
238
+ rosbag_record (rosbag/record)
239
+ ROS_MASTER_URI=http://localhost:11311
240
+ process[pub_text-13]: started with pid [2521534]
241
+ process[print_text-14]: started with pid [2521535]
242
+ process[rosbag_record-15]: started with pid [2521536]
243
+ started bagging!
244
+ For topic gripper_width: timestamp difference is 100150195 for nearest: 1737144885943954554 - target: 1737144885843804359 at idx 159
245
+ For topic gripper_width: timestamp difference is 100950800 for nearest: 1737144886943955027 - target: 1737144886843004227 at idx 170
246
+ For topic gripper_width: timestamp difference is 103421547 for nearest: 1737144889943934061 - target: 1737144889840512514 at idx 207
247
+ For topic gripper_width: timestamp difference is 103539841 for nearest: 1737144890143888371 - target: 1737144890040348530 at idx 209
248
+ For topic gripper_width: timestamp difference is 104235734 for nearest: 1737144890943932141 - target: 1737144890839696407 at idx 220
249
+ For topic gripper_width: timestamp difference is 105037751 for nearest: 1737144891943931403 - target: 1737144891838893652 at idx 235
250
+ For topic gripper_width: timestamp difference is 107436470 for nearest: 1737144894943933300 - target: 1737144894836496830 at idx 249
251
+ For topic gripper_width: timestamp difference is 108077478 for nearest: 1737144895743936491 - target: 1737144895635859013 at idx 249
252
+ For topic gripper_width: timestamp difference is 108564394 for nearest: 1737144896343935268 - target: 1737144896235370874 at idx 249
253
+ For topic gripper_width: timestamp difference is 108768472 for nearest: 1737144896543974885 - target: 1737144896435206413 at idx 249
254
+ For topic gripper_width: timestamp difference is 110100387 for nearest: 1737144898143964170 - target: 1737144898033863783 at idx 249
255
+ For topic gripper_width: timestamp difference is 110900686 for nearest: 1737144899143932388 - target: 1737144899033031702 at idx 249
256
+ For topic gripper_width: timestamp difference is 111068984 for nearest: 1737144899343934794 - target: 1737144899232865810 at idx 249
257
+ [INFO] [1737144901.327023]: Storing episode...
258
+ [rosbag_record-15] killing on exit
259
+ [print_text-14] killing on exit
260
+ [pub_text-13] killing on exit
261
+ [INFO] [1737144902.146973]: Stored episode 5.
262
+ [INFO] [1737144902.148820]: Saving video...
263
+ [INFO] [1737144902.427538]: Video saved!
264
+ Starting episode 5
265
+ [INFO] [1737144902.514823]: resetting environment
266
+ [INFO] [1737144902.555320]: cleared current plan
267
+ [INFO] [1737144902.560683]: moving to home
268
+ [INFO] [1737144906.188447]: reached home
269
+ [INFO] [1737144906.198904]: reset action history
270
+ [INFO] [1737144909.099916]: environment reset
271
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
272
+ proceeding to start episode!Comuting lower confidence bound
273
+ Comuting upper confidence bound
274
+ Comuting lower confidence bound
275
+ Comuting upper confidence bound
276
+ Comuting lower confidence bound
277
+ Comuting upper confidence bound
278
+ Comuting lower confidence bound
279
+ Comuting upper confidence bound
280
+ [INFO] [1737144914.671863]: resetting environment
281
+ [INFO] [1737144914.695052]: cleared current plan
282
+ [INFO] [1737144914.709739]: moving to home
283
+ [INFO] [1737144915.736725]: reached home
284
+ [INFO] [1737144915.743742]: reset action history
285
+ [INFO] [1737144918.610169]: environment reset
286
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_5_2025-01-17-15-15-18.bag
287
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
288
+ started roslaunch server http://158.130.50.37:37689/
289
+ SUMMARY
290
+ ========
291
+ PARAMETERS
292
+ * /rosdistro: noetic
293
+ * /rosversion: 1.16.0
294
+ NODES
295
+ /
296
+ print_text (rostopic/rostopic)
297
+ pub_text (rostopic/rostopic)
298
+ rosbag_record (rosbag/record)
299
+ ROS_MASTER_URI=http://localhost:11311
300
+ process[pub_text-16]: started with pid [2521670]
301
+ process[print_text-17]: started with pid [2521671]
302
+ process[rosbag_record-18]: started with pid [2521672]
303
+ started bagging!
304
+ [INFO] [1737144948.670593]: Storing episode...
305
+ [pub_text-16] killing on exit
306
+ [rosbag_record-18] killing on exit[print_text-17] killing on exit
307
+ [WARN] [1737144950.018654]: Plan exhausted
308
+ [WARN] [1737144950.058159]: Plan exhausted
309
+ [INFO] [1737144949.470788]: Stored episode 6.
310
+ [INFO] [1737144949.479733]: Saving video...
311
+ [INFO] [1737144949.917473]: Video saved!
312
+ Starting episode 6
313
+ [INFO] [1737144950.024127]: resetting environment
314
+ [INFO] [1737144950.062745]: cleared current plan
315
+ [INFO] [1737144950.072247]: moving to home
316
+ [INFO] [1737144953.696579]: reached home
317
+ [INFO] [1737144953.708251]: reset action history
318
+ [INFO] [1737144956.637765]: environment reset
319
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
320
+ proceeding to start episode!Comuting lower confidence bound
321
+ Comuting upper confidence bound
322
+ Comuting lower confidence bound
323
+ Comuting upper confidence bound
324
+ Comuting lower confidence bound
325
+ Comuting upper confidence bound
326
+ Comuting lower confidence bound
327
+ Comuting upper confidence bound
328
+ [INFO] [1737144958.858764]: resetting environment
329
+ [INFO] [1737144958.881171]: cleared current plan
330
+ [INFO] [1737144958.884510]: moving to home
331
+ [INFO] [1737144959.899440]: reached home
332
+ [INFO] [1737144959.908894]: reset action history
333
+ [INFO] [1737144962.842039]: environment reset
334
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_6_2025-01-17-15-16-02.bag
335
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
336
+ started roslaunch server http://158.130.50.37:35197/
337
+ SUMMARY
338
+ ========
339
+ PARAMETERS
340
+ * /rosdistro: noetic
341
+ * /rosversion: 1.16.0
342
+ NODES
343
+ /
344
+ print_text (rostopic/rostopic)
345
+ pub_text (rostopic/rostopic)
346
+ rosbag_record (rosbag/record)
347
+ ROS_MASTER_URI=http://localhost:11311
348
+ process[pub_text-19]: started with pid [2521812]
349
+ process[print_text-20]: started with pid [2521813]
350
+ process[rosbag_record-21]: started with pid [2521814]
351
+ started bagging!
352
+ [INFO] [1737144991.459963]: Storing episode...
353
+ [pub_text-19] killing on exit
354
+ [print_text-20] killing on exit
355
+ [rosbag_record-21] killing on exit
356
+ [INFO] [1737144992.269975]: Stored episode 7.
357
+ [INFO] [1737144992.278912]: Saving video...
358
+ [INFO] [1737144992.956867]: Video saved!
359
+ Starting episode 7
360
+ [INFO] [1737144993.054455]: resetting environment
361
+ [INFO] [1737144993.104906]: cleared current plan
362
+ [INFO] [1737144993.106308]: moving to home
363
+ [WARN] [1737144992.816618]: Plan exhausted
364
+ [WARN] [1737144992.865908]: Plan exhausted
365
+ [WARN] [1737144992.898058]: Plan exhausted
366
+ [WARN] [1737144992.939139]: Plan exhausted
367
+ [WARN] [1737144992.977376]: Plan exhausted
368
+ [WARN] [1737144993.017725]: Plan exhausted
369
+ [WARN] [1737144993.056735]: Plan exhausted
370
+ [WARN] [1737144993.098705]: Plan exhausted
371
+ [INFO] [1737144996.719995]: reached home
372
+ [INFO] [1737144996.734575]: reset action history
373
+ [INFO] [1737144999.633996]: environment reset
374
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
375
+ proceeding to start episode!Comuting lower confidence bound
376
+ Comuting upper confidence bound
377
+ Comuting lower confidence bound
378
+ Comuting upper confidence bound
379
+ Comuting lower confidence bound
380
+ Comuting upper confidence bound
381
+ Comuting lower confidence bound
382
+ Comuting upper confidence bound
383
+ [INFO] [1737145002.125946]: resetting environment
384
+ [INFO] [1737145002.172077]: cleared current plan
385
+ [INFO] [1737145002.188179]: moving to home
386
+ [INFO] [1737145003.201502]: reached home
387
+ [INFO] [1737145003.205266]: reset action history
388
+ [INFO] [1737145006.073722]: environment reset
389
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_7_2025-01-17-15-16-46.bag
390
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
391
+ started roslaunch server http://158.130.50.37:37481/
392
+ SUMMARY
393
+ ========
394
+ PARAMETERS
395
+ * /rosdistro: noetic
396
+ * /rosversion: 1.16.0
397
+ NODES
398
+ /
399
+ print_text (rostopic/rostopic)
400
+ pub_text (rostopic/rostopic)
401
+ rosbag_record (rosbag/record)
402
+ ROS_MASTER_URI=http://localhost:11311
403
+ process[pub_text-22]: started with pid [2521955]
404
+ process[print_text-23]: started with pid [2521956]
405
+ process[rosbag_record-24]: started with pid [2521957]
406
+ started bagging!
407
+ For topic gripper_width: timestamp difference is -107367558 for nearest: 1737145011877275901 - target: 1737145011984643459 at idx 86
408
+ [INFO] [1737145033.231937]: Storing episode...
409
+ [WARN] [1737145034.577706]: Plan exhausted
410
+ [rosbag_record-24] killing on exit
411
+ [print_text-23] killing on exit
412
+ [pub_text-22] killing on exit
413
+ [INFO] [1737145034.144988]: Stored episode 8.
414
+ [INFO] [1737145034.168500]: Saving video...
415
+ [INFO] [1737145034.391199]: Video saved!
416
+ Starting episode 8
417
+ [INFO] [1737145034.540071]: resetting environment
418
+ [INFO] [1737145034.595079]: cleared current plan
419
+ [INFO] [1737145034.595537]: moving to home
420
+ [INFO] [1737145038.211694]: reached home
421
+ [INFO] [1737145038.247201]: reset action history
422
+ [INFO] [1737145041.308724]: environment reset
423
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
424
+ proceeding to start episode!Comuting lower confidence bound
425
+ Comuting upper confidence bound
426
+ Comuting lower confidence bound
427
+ Comuting upper confidence bound
428
+ Comuting lower confidence bound
429
+ Comuting upper confidence bound
430
+ Comuting lower confidence bound
431
+ Comuting upper confidence bound
432
+ [INFO] [1737145044.275025]: resetting environment
433
+ [INFO] [1737145044.341135]: cleared current plan
434
+ [INFO] [1737145044.367557]: moving to home
435
+ [INFO] [1737145045.373464]: reached home
436
+ [INFO] [1737145045.375096]: reset action history
437
+ [INFO] [1737145048.382568]: environment reset
438
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_8_2025-01-17-15-17-28.bag
439
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
440
+ started roslaunch server http://158.130.50.37:33607/
441
+ SUMMARY
442
+ ========
443
+ PARAMETERS
444
+ * /rosdistro: noetic
445
+ * /rosversion: 1.16.0
446
+ NODES
447
+ /
448
+ print_text (rostopic/rostopic)
449
+ pub_text (rostopic/rostopic)
450
+ rosbag_record (rosbag/record)
451
+ ROS_MASTER_URI=http://localhost:11311
452
+ process[pub_text-25]: started with pid [2522070]
453
+ process[print_text-26]: started with pid [2522071]
454
+ process[rosbag_record-27]: started with pid [2522095]
455
+ started bagging!
456
+ [INFO] [1737145075.392711]: Storing episode...
457
+ [rosbag_record-27] killing on exit
458
+ [pub_text-25] killing on exit
459
+ [print_text-26] killing on exit
460
+ [INFO] [1737145076.232386]: Stored episode 9.
461
+ [INFO] [1737145076.247170]: Saving video...
462
+ [INFO] [1737145076.588588]: Video saved!
463
+ Starting episode 9
464
+ [INFO] [1737145076.718770]: resetting environment
465
+ [INFO] [1737145076.743717]: cleared current plan
466
+ [INFO] [1737145076.753381]: moving to home
467
+ [WARN] [1737145076.736612]: Plan exhausted
468
+ [INFO] [1737145080.378605]: reached home
469
+ [INFO] [1737145080.421814]: reset action history
470
+ [INFO] [1737145083.473094]: environment reset
471
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
472
+ proceeding to start episode!Comuting lower confidence bound
473
+ Comuting upper confidence bound
474
+ Comuting lower confidence bound
475
+ Comuting upper confidence bound
476
+ Comuting lower confidence bound
477
+ Comuting upper confidence bound
478
+ Comuting lower confidence bound
479
+ Comuting upper confidence bound
480
+ [INFO] [1737145088.131793]: resetting environment
481
+ [INFO] [1737145088.171527]: cleared current plan
482
+ [INFO] [1737145088.178016]: moving to home
483
+ [INFO] [1737145089.202218]: reached home
484
+ [INFO] [1737145089.205651]: reset action history
485
+ [INFO] [1737145092.263952]: environment reset
486
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_9_2025-01-17-15-18-12.bag
487
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
488
+ started roslaunch server http://158.130.50.37:34915/
489
+ SUMMARY
490
+ ========
491
+ PARAMETERS
492
+ * /rosdistro: noetic
493
+ * /rosversion: 1.16.0
494
+ NODES
495
+ /
496
+ print_text (rostopic/rostopic)
497
+ pub_text (rostopic/rostopic)
498
+ rosbag_record (rosbag/record)
499
+ ROS_MASTER_URI=http://localhost:11311
500
+ process[pub_text-28]: started with pid [2522237]
501
+ process[print_text-29]: started with pid [2522238]
502
+ process[rosbag_record-30]: started with pid [2522239]
503
+ started bagging!
504
+ For topic gripper_width: timestamp difference is 107068812 for nearest: 1737145105743950402 - target: 1737145105636881590 at idx 192
505
+ For topic gripper_width: timestamp difference is -178214787 for nearest: 1737145112677224161 - target: 1737145112855438948 at idx 249
506
+ [INFO] [1737145124.718442]: Storing episode...
507
+ [rosbag_record-30] killing on exit
508
+ [pub_text-28] killing on exit
509
+ [print_text-29] killing on exit
510
+ [INFO] [1737145125.519492]: Stored episode 10.
511
+ [INFO] [1737145125.535129]: Saving video...
512
+ [INFO] [1737145125.823667]: Video saved!
513
+ Starting episode 10
514
+ [INFO] [1737145125.939959]: resetting environment
515
+ [INFO] [1737145125.978858]: cleared current plan
516
+ [INFO] [1737145125.986184]: moving to home
517
+ [INFO] [1737145129.605814]: reached home
518
+ [INFO] [1737145129.624259]: reset action history
519
+ [INFO] [1737145132.604269]: environment reset
520
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
521
+ proceeding to start episode!Comuting lower confidence bound
522
+ Comuting upper confidence bound
523
+ Comuting lower confidence bound
524
+ Comuting upper confidence bound
525
+ Comuting lower confidence bound
526
+ Comuting upper confidence bound
527
+ Comuting lower confidence bound
528
+ Comuting upper confidence bound
529
+ [INFO] [1737145136.377097]: resetting environment
530
+ [INFO] [1737145136.435439]: cleared current plan
531
+ [INFO] [1737145136.471512]: moving to home
532
+ [INFO] [1737145137.494685]: reached home
533
+ [INFO] [1737145137.500746]: reset action history
534
+ [INFO] [1737145140.463413]: environment reset
535
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_10_2025-01-17-15-19-00.bag
536
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
537
+ started roslaunch server http://158.130.50.37:42585/
538
+ SUMMARY
539
+ ========
540
+ PARAMETERS
541
+ * /rosdistro: noetic
542
+ * /rosversion: 1.16.0
543
+ NODES
544
+ /
545
+ print_text (rostopic/rostopic)
546
+ pub_text (rostopic/rostopic)
547
+ rosbag_record (rosbag/record)
548
+ ROS_MASTER_URI=http://localhost:11311
549
+ process[pub_text-31]: started with pid [2522372]
550
+ process[print_text-32]: started with pid [2522373]
551
+ process[rosbag_record-33]: started with pid [2522374]
552
+ started bagging!
553
+ [INFO] [1737145173.301405]: Storing episode...
554
+ [rosbag_record-33] killing on exit
555
+ [print_text-32] killing on exit
556
+ [pub_text-31] killing on exit
557
+ [WARN] [1737145174.665358]: Plan exhausted
558
+ [WARN] [1737145174.696849]: Plan exhausted
559
+ [INFO] [1737145174.137834]: Stored episode 11.
560
+ [INFO] [1737145174.163425]: Saving video...
561
+ [INFO] [1737145174.501473]: Video saved!
562
+ Starting episode 11
563
+ [INFO] [1737145174.671042]: resetting environment
564
+ [INFO] [1737145174.725233]: cleared current plan
565
+ [INFO] [1737145174.737234]: moving to home
566
+ [INFO] [1737145178.345127]: reached home
567
+ [INFO] [1737145178.372178]: reset action history
568
+ [INFO] [1737145181.484578]: environment reset
569
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
570
+ proceeding to start episode!Comuting lower confidence bound
571
+ Comuting upper confidence bound
572
+ Comuting lower confidence bound
573
+ Comuting upper confidence bound
574
+ Comuting lower confidence bound
575
+ Comuting upper confidence bound
576
+ Comuting lower confidence bound
577
+ Comuting upper confidence bound
578
+ [INFO] [1737145184.819521]: resetting environment
579
+ [INFO] [1737145184.857528]: cleared current plan
580
+ [INFO] [1737145184.859815]: moving to home
581
+ [INFO] [1737145185.871459]: reached home
582
+ [INFO] [1737145185.875200]: reset action history
583
+ [INFO] [1737145188.981676]: environment reset
584
+ bag_path_name:=/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/episode_rosbags/episode_11_2025-01-17-15-19-48.bag
585
+ ... logging to /home/leonmkim/.ros/log/1b77c894-d3af-11ef-96d2-5defea869005/roslaunch-leonmkim-ROG-Strix-G15CS-G15CS-2520639.log
586
+ started roslaunch server http://158.130.50.37:40201/
587
+ SUMMARY
588
+ ========
589
+ PARAMETERS
590
+ * /rosdistro: noetic
591
+ * /rosversion: 1.16.0
592
+ NODES
593
+ /
594
+ print_text (rostopic/rostopic)
595
+ pub_text (rostopic/rostopic)
596
+ rosbag_record (rosbag/record)
597
+ ROS_MASTER_URI=http://localhost:11311
598
+ process[pub_text-34]: started with pid [2522506]
599
+ process[print_text-35]: started with pid [2522507]
600
+ process[rosbag_record-36]: started with pid [2522508]
601
+ started bagging!
602
+ For topic gripper_width: timestamp difference is 100755753 for nearest: 1737145216743958296 - target: 1737145216643202543 at idx 249
603
+ [INFO] [1737145223.547758]: Storing episode...
604
+ [rosbag_record-36] killing on exit
605
+ [pub_text-34] killing on exit
606
+ [print_text-35] killing on exit
607
+ [INFO] [1737145224.317056]: Stored episode 12.
608
+ [INFO] [1737145224.340974]: Saving video...
609
+ [INFO] [1737145224.863483]: Video saved!
610
+ Starting episode 12
611
+ [INFO] [1737145224.989911]: resetting environment
612
+ [INFO] [1737145225.001977]: cleared current plan
613
+ [INFO] [1737145225.002868]: moving to home
614
+ [WARN] [1737145224.896756]: Plan exhausted
615
+ [WARN] [1737145224.940833]: Plan exhausted
616
+ [WARN] [1737145224.976584]: Plan exhausted
617
+ [INFO] [1737145228.613642]: reached home
618
+ [INFO] [1737145228.621561]: reset action history
619
+ [INFO] [1737145231.765373]: environment reset
620
+ Press Enter to continue... after reseting env. To rate prev episode, press 0 for failure and 1 for success
621
+ program exiting gracefully
622
+ proceeding to start episode!
623
+ [INFO] [1737147277.696025]: Saving video...
624
+ [INFO] [1737147277.783431]: Video saved!
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/requirements.txt ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Cython==3.0.10
2
+ Farama-Notifications==0.0.4
3
+ GitPython==3.1.43
4
+ Jinja2==3.1.4
5
+ Markdown==3.6
6
+ MarkupSafe==2.1.5
7
+ POT==0.7.0
8
+ PyOpenGL==3.1.7
9
+ PySocks==1.7.1
10
+ PyYAML==6.0.1
11
+ Pygments==2.18.0
12
+ Rtree==1.3.0
13
+ Werkzeug==3.0.3
14
+ absl-py==2.1.0
15
+ accelerate==0.33.0
16
+ actionlib-msgs==1.13.0.post3
17
+ actionlib==1.12.0
18
+ actionlib==1.14.0
19
+ aiohttp==3.9.5
20
+ aiosignal==1.3.1
21
+ angles==1.9.13
22
+ antlr4-python3-runtime==4.9.3
23
+ anyio==4.4.0
24
+ asciitree==0.3.3
25
+ async-timeout==4.0.3
26
+ attrs==23.2.0
27
+ autoprop==4.1.0
28
+ beartype==0.18.5
29
+ beautifulsoup4==4.12.3
30
+ binomial_cis==0.0.11
31
+ bondpy==1.8.6
32
+ byol-pytorch==0.8.0
33
+ cachetools==5.4.0
34
+ camera-calibration-parsers==1.12.0
35
+ camera-calibration==1.17.0
36
+ cascadio==0.0.13
37
+ catkin-pkg==1.0.0
38
+ catkin==0.7.18
39
+ catkin==0.8.10
40
+ certifi==2024.7.4
41
+ cffi==1.16.0
42
+ chardet==5.2.0
43
+ charset-normalizer==3.3.2
44
+ click==8.1.7
45
+ cloudpickle==3.0.0
46
+ cmake==3.30.1
47
+ colorlog==6.8.2
48
+ contourpy==1.2.1
49
+ controller-manager-msgs==0.20.0
50
+ controller-manager==0.20.0
51
+ coverage==7.6.0
52
+ coveralls==4.0.1
53
+ cv-bridge==1.16.2
54
+ cycler==0.12.1
55
+ datasets==2.20.0
56
+ decorator==4.4.2
57
+ deepdiff==7.0.1
58
+ defusedxml==0.7.1
59
+ diagnostic-analysis==1.11.0
60
+ diagnostic-common-diagnostics==1.11.0
61
+ diagnostic-updater==1.11.0
62
+ diffusers==0.27.2
63
+ dill==0.3.8
64
+ distro==1.9.0
65
+ dm-control==1.0.8
66
+ dm-env==1.6
67
+ dm-tree==0.1.8
68
+ docker-pycreds==0.4.0
69
+ docopt==0.6.2
70
+ docutils==0.21.2
71
+ dynamic-reconfigure==1.7.3
72
+ einops==0.8.0
73
+ embreex==2.17.7.post5
74
+ empy==3.3.4
75
+ etils==1.7.0
76
+ exceptiongroup==1.2.2
77
+ ezdxf==1.3.2
78
+ fasteners==0.19
79
+ filelock==3.15.4
80
+ fonttools==4.53.1
81
+ freetype-py==2.4.0
82
+ frozenlist==1.4.1
83
+ fsspec==2024.5.0
84
+ gazebo_plugins==2.9.2
85
+ gazebo_ros==2.9.2
86
+ gdown==5.2.0
87
+ gencpp==0.7.0
88
+ geneus==3.0.0
89
+ genlisp==0.4.18
90
+ genmsg==0.5.12
91
+ genmsg==0.6.0
92
+ gennodejs==2.0.2
93
+ genpy==0.6.14
94
+ genpy==0.6.15
95
+ geometry-msgs==1.13.0.post2
96
+ gitdb==4.0.11
97
+ glfw==2.7.0
98
+ glooey==0.3.6
99
+ gmsh==4.12.2
100
+ gnupg==2.3.1
101
+ google-auth-oauthlib==1.0.0
102
+ google-auth==2.32.0
103
+ grpcio==1.65.1
104
+ gym-envs==0.0.1
105
+ gym-notices==0.0.8
106
+ gym==0.22.0
107
+ gymnasium==0.29.1
108
+ h11==0.14.0
109
+ h5py==3.11.0
110
+ hf_transfer==0.1.8
111
+ httpcore==1.0.5
112
+ httpx==0.27.0
113
+ huggingface-hub==0.23.5
114
+ hydra-core==1.3.2
115
+ hydra-submitit-launcher==1.2.0
116
+ idna==3.7
117
+ image-geometry==1.16.2
118
+ imageio-ffmpeg==0.5.1
119
+ imageio==2.34.2
120
+ importlib_metadata==8.2.0
121
+ importlib_resources==6.4.0
122
+ iniconfig==2.0.0
123
+ interactive-markers==1.12.0
124
+ joint-state-publisher-gui==1.15.1
125
+ joint-state-publisher==1.15.1
126
+ jsonschema-specifications==2023.12.1
127
+ jsonschema==4.23.0
128
+ kiwisolver==1.4.5
129
+ kornia==0.7.3
130
+ kornia_rs==0.1.5
131
+ labmaze==1.0.6
132
+ laser_geometry==1.6.7
133
+ lazy_loader==0.4
134
+ lerobot==0.1.0
135
+ lightning-utilities==0.11.6
136
+ llvmlite==0.43.0
137
+ lxml==5.2.2
138
+ manifold3d==2.5.1
139
+ mapbox-earcut==1.0.1
140
+ markdown-it-py==3.0.0
141
+ matplotlib==3.9.1
142
+ mdurl==0.1.2
143
+ meshio==5.3.5
144
+ message-filters==1.16.0
145
+ more-itertools==10.3.0
146
+ moviepy==1.0.3
147
+ mpmath==1.3.0
148
+ mujoco==3.2.0
149
+ multidict==6.0.5
150
+ multiprocess==0.70.16
151
+ natsort==8.4.0
152
+ netifaces==0.11.0
153
+ networkx==3.3
154
+ nodeenv==1.9.1
155
+ numba==0.60.0
156
+ numcodecs==0.13.0
157
+ numpy==1.26.4
158
+ nvidia-cublas-cu12==12.1.3.1
159
+ nvidia-cuda-cupti-cu12==12.1.105
160
+ nvidia-cuda-nvrtc-cu12==12.1.105
161
+ nvidia-cuda-runtime-cu12==12.1.105
162
+ nvidia-cudnn-cu12==9.1.0.70
163
+ nvidia-cufft-cu12==11.0.2.54
164
+ nvidia-curand-cu12==10.3.2.106
165
+ nvidia-cusolver-cu12==11.4.5.107
166
+ nvidia-cusparse-cu12==12.1.0.106
167
+ nvidia-nccl-cu12==2.20.5
168
+ nvidia-nvjitlink-cu12==12.5.82
169
+ nvidia-nvtx-cu12==12.1.105
170
+ oauthlib==3.2.2
171
+ omegaconf==2.3.0
172
+ openctm==0.0.5
173
+ opencv-python==4.10.0.84
174
+ ordered-set==4.1.0
175
+ packaging==24.1
176
+ pandas==2.2.2
177
+ pillow==10.4.0
178
+ pip==24.3.1
179
+ platformdirs==4.2.2
180
+ pluggy==1.5.0
181
+ proglog==0.1.10
182
+ protobuf==5.27.2
183
+ psutil==6.0.0
184
+ pyarrow-hotfix==0.6
185
+ pyarrow==17.0.0
186
+ pyasn1==0.6.0
187
+ pyasn1_modules==0.4.0
188
+ pyav==12.3.0
189
+ pycollada==0.8
190
+ pycparser==2.22
191
+ pycryptodomex==3.21.0
192
+ pyglet==1.5.29
193
+ pyinstrument==4.6.2
194
+ pymunk==6.8.1
195
+ pyparsing==2.4.7
196
+ pyrealsense2==2.54.2.5684
197
+ pyribbit==0.1.46
198
+ pyright==1.1.373
199
+ pytest-beartype==0.0.2
200
+ pytest-cov==5.0.0
201
+ pytest==8.3.1
202
+ python-dateutil==2.9.0.post0
203
+ python-fcl==0.7.0.6
204
+ python-qt-binding==0.4.4
205
+ pytorch-lightning==2.4.0
206
+ pytz==2024.1
207
+ qt-dotgraph==0.4.2
208
+ qt-gui-cpp==0.4.2
209
+ qt-gui-py-common==0.4.2
210
+ qt-gui==0.4.2
211
+ referencing==0.35.1
212
+ regex==2024.5.15
213
+ requests-oauthlib==2.0.0
214
+ requests==2.32.3
215
+ rerun-sdk==0.17.0
216
+ resource_retriever==1.12.7
217
+ rich==13.7.1
218
+ ros-numpy==0.0.5
219
+ rosbag==1.16.0
220
+ rosboost-cfg==1.15.8
221
+ rosclean==1.15.8
222
+ roscpp==1.15.11
223
+ roscreate==1.15.8
224
+ rosgraph-msgs==1.11.3.post2
225
+ rosgraph==1.15.11
226
+ rosgraph==1.16.0
227
+ roslaunch==1.16.0
228
+ roslib==1.14.7.post0
229
+ roslib==1.15.8
230
+ roslint==0.12.0
231
+ roslz4==1.16.0
232
+ rosmake==1.15.8
233
+ rosmaster==1.16.0
234
+ rosmsg==1.16.0
235
+ rosnode==1.16.0
236
+ rosparam==1.16.0
237
+ rospkg==1.5.1
238
+ rospy==1.15.11
239
+ rospy==1.16.0
240
+ rosservice==1.16.0
241
+ rostest==1.16.0
242
+ rostopic==1.16.0
243
+ rosunit==1.15.8
244
+ roswtf==1.16.0
245
+ rpds-py==0.19.1
246
+ rqt-console==0.4.12
247
+ rqt-image-view==0.4.17
248
+ rqt-logger-level==0.4.12
249
+ rqt-moveit==0.5.11
250
+ rqt-reconfigure==0.5.5
251
+ rqt-robot-dashboard==0.5.8
252
+ rqt-robot-monitor==0.5.15
253
+ rqt-runtime-monitor==0.5.10
254
+ rqt-rviz==0.7.0
255
+ rqt-tf-tree==0.6.4
256
+ rqt_action==0.4.9
257
+ rqt_bag==0.5.1
258
+ rqt_bag_plugins==0.5.1
259
+ rqt_dep==0.4.12
260
+ rqt_graph==0.4.14
261
+ rqt_gui==0.5.3
262
+ rqt_gui_py==0.5.3
263
+ rqt_launch==0.4.9
264
+ rqt_msg==0.4.10
265
+ rqt_nav_view==0.5.7
266
+ rqt_plot==0.4.13
267
+ rqt_pose_view==0.5.11
268
+ rqt_publisher==0.4.10
269
+ rqt_py_common==0.5.3
270
+ rqt_py_console==0.4.10
271
+ rqt_robot_steering==0.5.12
272
+ rqt_service_caller==0.4.10
273
+ rqt_shell==0.4.11
274
+ rqt_srv==0.4.9
275
+ rqt_top==0.4.10
276
+ rqt_topic==0.4.13
277
+ rqt_web==0.4.10
278
+ rsa==4.9
279
+ ruff==0.5.4
280
+ rviz==1.14.25
281
+ safetensors==0.4.3
282
+ scikit-image==0.24.0
283
+ scikit-video==1.1.11
284
+ scipy==1.14.0
285
+ seaborn==0.13.2
286
+ sensor-msgs==1.13.1
287
+ sentry-sdk==2.11.0
288
+ setproctitle==1.3.3
289
+ setuptools==65.5.0
290
+ shapely==2.0.5
291
+ signature_dispatch==1.0.1
292
+ six==1.16.0
293
+ smach-ros==2.5.2
294
+ smach==2.5.2
295
+ smclib==1.8.6
296
+ smmap==5.0.1
297
+ sniffio==1.3.1
298
+ soupsieve==2.5
299
+ std-msgs==0.5.13.post0
300
+ submitit==1.5.1
301
+ svg.path==6.3
302
+ sympy==1.13.1
303
+ tensorboard-data-server==0.7.2
304
+ tensorboard==2.14.0
305
+ termcolor==2.4.0
306
+ tf-conversions==1.13.2
307
+ tf2-geometry-msgs==0.7.7
308
+ tf2-kdl==0.7.7
309
+ tf2-msgs==0.7.2.post3
310
+ tf2-py==0.7.7
311
+ tf2-ros==0.6.5
312
+ tf2-ros==0.7.7
313
+ tf2_py==0.6.5.post1
314
+ tf==1.13.2
315
+ tifffile==2024.7.24
316
+ tomli==2.0.1
317
+ topic-tools==1.16.0
318
+ torch==2.4.0
319
+ torchaug==0.5.2
320
+ torchmetrics==1.4.0.post0
321
+ torchvision==0.19.0
322
+ tqdm==4.66.4
323
+ trimesh==4.4.3
324
+ triton==3.0.0
325
+ typeguard==3.0.2
326
+ typing_extensions==4.12.2
327
+ tzdata==2024.1
328
+ urchin==0.0.27
329
+ urllib3==2.2.2
330
+ vecrec==0.3.1
331
+ vhacdx==0.0.8.post1
332
+ wandb==0.17.5
333
+ wheel==0.43.0
334
+ xacro==1.14.18
335
+ xatlas==0.0.9
336
+ xxhash==3.4.1
337
+ yarl==1.9.4
338
+ zarr==2.18.2
339
+ zipp==3.19.2
340
+ zstandard==0.23.0
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/upstream_diff_0f018502ce3c0d2ad4dfb21f3d7778b9e3db3a78.patch ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/FISH/cfgs/config_eval.yaml b/FISH/cfgs/config_eval.yaml
2
+ index a5e82a4..a6b1973 100644
3
+ --- a/FISH/cfgs/config_eval.yaml
4
+ +++ b/FISH/cfgs/config_eval.yaml
5
+ @@ -82,7 +82,7 @@ contact_estimation_model_ckpt_path: '~/fish_leon/contact_estimation/artifacts/17
6
+
7
+ # Number of evaluation trajectories
8
+ # num_eval: 10
9
+ -num_eval: 5
10
+ +num_eval: 20
11
+
12
+ debug_timestamps: False
13
+ open_loop: False
14
+ @@ -132,15 +132,18 @@ load_checkpoint: ${agent.load_checkpoint}
15
+ # wandb_run_id: '1000_0' # all
16
+
17
+ # all books, 10/20 demos per book
18
+ +# crp_D+act history
19
+ +wandb_run_id: '3456_0'
20
+ +# wandb_run_id: '3456_1' # seed 1
21
+ +
22
+ # RGBD+mask+act history
23
+ -# wandb_run_id: '1002_0'
24
+ # wandb_run_id: '1009_1' # seed 1
25
+ # wandb_run_id: '1022_0' # dataset shuffle seed 1
26
+
27
+ # RGBD+mask+contact(all ftrs)+act history
28
+ # wandb_run_id: '1003_0'
29
+ # wandb_run_id: '1013_1' # seed 1
30
+ -wandb_run_id: '1017_0' # dataset shuffle seed 1
31
+ +# wandb_run_id: '1017_0' # dataset shuffle seed 1
32
+
33
+ # all books, 6/20 demos per book
34
+ # RGBD+mask+act history
35
+ diff --git a/FISH/download_model_checkpoints.py b/FISH/download_model_checkpoints.py
36
+ index e3c7dc1..d9b15a5 100644
37
+ --- a/FISH/download_model_checkpoints.py
38
+ +++ b/FISH/download_model_checkpoints.py
39
+ @@ -167,12 +167,14 @@ run_id_list = [
40
+ # '1948_0',
41
+ # '1950_0',
42
+ # '1954_1',
43
+ - '1002_0',
44
+ - '1009_1',
45
+ - '1022_0',
46
+ - '1003_0',
47
+ - '1013_1',
48
+ - '1017_0',
49
+ + # '1002_0',
50
+ + # '1009_1',
51
+ + # '1022_0',
52
+ + # '1003_0',
53
+ + # '1013_1',
54
+ + # '1017_0',
55
+ + # '3456_0',
56
+ + '3456_1',
57
+ ]
58
+
59
+ checkpoint_epoch = 12000
60
+ diff --git a/FISH/eval_policy.py b/FISH/eval_policy.py
61
+ index 0ad179a..f5cfc13 100644
62
+ --- a/FISH/eval_policy.py
63
+ +++ b/FISH/eval_policy.py
64
+ @@ -89,9 +89,10 @@ class Workspace:
65
+ # Need to convert hydra config to primitive container for wandb https://docs.wandb.ai/guides/integrations/hydra
66
+ with open_dict(self.cfg):
67
+ self.cfg.feature_type = get_feature_dirname_from_configs(
68
+ - hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
69
+ - self.cfg.agent.config.policy_cfg.input_shapes,
70
+ - hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
71
+ + hydra.utils.instantiate(self.cfg.agent.config),
72
+ + # hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
73
+ + # self.cfg.agent.config.policy_cfg.input_shapes,
74
+ + # hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
75
+ )
76
+
77
+ if not self.loading_uncompiled_checkpoint_with_compile and self.cfg.agent.config.compile:
78
+ diff --git a/FISH/eval_robot.py b/FISH/eval_robot.py
79
+ index 50493fe..905b769 100644
80
+ --- a/FISH/eval_robot.py
81
+ +++ b/FISH/eval_robot.py
82
+ @@ -83,9 +83,10 @@ class Workspace:
83
+ # Need to convert hydra config to primitive container for wandb https://docs.wandb.ai/guides/integrations/hydra
84
+ with open_dict(self.cfg):
85
+ self.cfg.feature_type = get_feature_dirname_from_configs(
86
+ - hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
87
+ - self.cfg.agent.config.policy_cfg.input_shapes,
88
+ - hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
89
+ + hydra.utils.instantiate(self.cfg.agent.config),
90
+ + # hydra.utils.instantiate(self.cfg.agent.config.observation_cfg),
91
+ + # self.cfg.agent.config.policy_cfg.input_shapes,
92
+ + # hydra.utils.instantiate(self.cfg.agent.config.policy_cfg.action_history_encoder_config) if 'observation.action_history' in self.cfg.agent.config.policy_cfg.input_shapes else None,
93
+ )
94
+
95
+ wandb_config = OmegaConf.to_container(
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/wandb-metadata.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "os": "Linux-5.15.0-125-generic-x86_64-with-glibc2.31",
3
+ "python": "3.10.14",
4
+ "heartbeatAt": "2025-01-17T20:10:44.824913",
5
+ "startedAt": "2025-01-17T20:10:44.420748",
6
+ "docker": null,
7
+ "cuda": null,
8
+ "args": [
9
+ "agent=diffusion",
10
+ "suite=frankagym",
11
+ "suite/frankagym_task@_global_=insertion"
12
+ ],
13
+ "state": "running",
14
+ "program": "/home/leonmkim/fish_leon/FISH/eval_robot.py",
15
+ "codePathLocal": null,
16
+ "codePath": "FISH/eval_robot.py",
17
+ "git": {
18
+ "remote": "https://github.com/leonmkim/fish_leon.git",
19
+ "commit": "ec42957dc10d08dbd8b134558fcd8f9e470ccc31"
20
+ },
21
+ "email": "leonmkim@seas.upenn.edu",
22
+ "root": "/home/leonmkim/fish_leon",
23
+ "host": "leonmkim-ROG-Strix-G15CS-G15CS",
24
+ "username": "leonmkim",
25
+ "executable": "/home/leonmkim/.pyenv/versions/lerobot/bin/python",
26
+ "cpu_count": 8,
27
+ "cpu_count_logical": 8,
28
+ "cpu_freq": {
29
+ "current": 3952.85125,
30
+ "min": 800.0,
31
+ "max": 4700.0
32
+ },
33
+ "cpu_freq_per_core": [
34
+ {
35
+ "current": 4500.0,
36
+ "min": 800.0,
37
+ "max": 4700.0
38
+ },
39
+ {
40
+ "current": 3000.0,
41
+ "min": 800.0,
42
+ "max": 4700.0
43
+ },
44
+ {
45
+ "current": 3000.0,
46
+ "min": 800.0,
47
+ "max": 4700.0
48
+ },
49
+ {
50
+ "current": 3000.0,
51
+ "min": 800.0,
52
+ "max": 4700.0
53
+ },
54
+ {
55
+ "current": 3000.0,
56
+ "min": 800.0,
57
+ "max": 4700.0
58
+ },
59
+ {
60
+ "current": 3000.0,
61
+ "min": 800.0,
62
+ "max": 4700.0
63
+ },
64
+ {
65
+ "current": 3000.0,
66
+ "min": 800.0,
67
+ "max": 4700.0
68
+ },
69
+ {
70
+ "current": 4530.086,
71
+ "min": 800.0,
72
+ "max": 4700.0
73
+ }
74
+ ],
75
+ "disk": {
76
+ "/": {
77
+ "total": 915.3232879638672,
78
+ "used": 426.36322021484375
79
+ }
80
+ },
81
+ "gpu": "NVIDIA GeForce RTX 2070 SUPER",
82
+ "gpu_count": 1,
83
+ "gpu_devices": [
84
+ {
85
+ "name": "NVIDIA GeForce RTX 2070 SUPER",
86
+ "memory_total": 8589934592
87
+ }
88
+ ],
89
+ "memory": {
90
+ "total": 62.71595764160156
91
+ }
92
+ }
h18xe90d/wandb/run-20250117_151044-h18xe90d/files/wandb-summary.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eval/0_eval": {"_type": "video-file", "sha256": "98c68d418db5b73df1b05761452a845f5a35493133d7805bbed1dc89315be5c9", "size": 1167172, "path": "media/videos/eval/0_eval_0_98c68d418db5b73df1b0.mp4"}, "global_step": 1463, "_timestamp": 1737145184.8142095, "_runtime": 540.381210565567, "_step": 23, "eval/1_eval": {"_type": "video-file", "sha256": "fe99acb9f5fbe6b6c23e6a1f518986a970f45769de1d4acd955b9b5f9bb5e789", "size": 1154808, "path": "media/videos/eval/1_eval_1_fe99acb9f5fbe6b6c23e.mp4"}, "eval/num_success": 11.0, "episode": 11.0, "eval/success_rate": 1.0, "eval/success_rate_lb_0.01": 0.6812262535095215, "eval/success_rate_ub_0.01": 1.0, "eval/success_rate_lb_0.025": 0.7194086909294128, "eval/success_rate_ub_0.025": 1.0, "eval/success_rate_lb_0.05": 0.8217406868934631, "eval/success_rate_ub_0.05": 1.0, "eval/success_rate_lb_0.1": 0.8676349520683289, "eval/success_rate_ub_0.1": 1.0, "eval/2_eval": {"_type": "video-file", "sha256": "a9b669c92c8beee6656cacd11f615b7c5aee743d336e4b927a08eddfab14d19b", "size": 1163094, "path": "media/videos/eval/2_eval_2_a9b669c92c8beee6656c.mp4"}, "eval/3_eval": {"_type": "video-file", "sha256": "2988eff819b475f131997a6481c4c4ca6d5d6a9124cea83e7998596e71612259", "size": 1160636, "path": "media/videos/eval/3_eval_3_2988eff819b475f13199.mp4"}, "eval/4_eval": {"_type": "video-file", "sha256": "8487a970815421048be960754b4caeed67e948d55be1d9121a1fb0628f53fb10", "size": 1171773, "path": "media/videos/eval/4_eval_4_8487a970815421048be9.mp4"}, "eval/5_eval": {"_type": "video-file", "sha256": "5eccb1be08111ca14e10f50c8b05a5c13c37a164fba6aaa66d39310d8cfd12f3", "size": 1269853, "path": "media/videos/eval/5_eval_5_5eccb1be08111ca14e10.mp4"}, "eval/6_eval": {"_type": "video-file", "sha256": "5f3fdb589a9c504e49465abf5578b1e48353445b5fb7da025d1597ab32b5a0b7", "size": 1231149, "path": "media/videos/eval/6_eval_6_5f3fdb589a9c504e4946.mp4"}, "eval/7_eval": {"_type": "video-file", "sha256": "eab2215188c302c460ba00e7f817b9602d979b290be42c792b2cff46a93ae595", "size": 1153200, "path": "media/videos/eval/7_eval_7_eab2215188c302c460ba.mp4"}, "eval/8_eval": {"_type": "video-file", "sha256": "50d0e7e81a609c529244b4bf0955c640353908a3899746c56f1df81d8ea406b8", "size": 1174619, "path": "media/videos/eval/8_eval_8_50d0e7e81a609c529244.mp4"}, "eval/9_eval": {"_type": "video-file", "sha256": "9a2233becb7986a47e63b28b21334780efa49c26963ca4e624fb1db5d670d747", "size": 1362409, "path": "media/videos/eval/9_eval_9_9a2233becb7986a47e63.mp4"}, "eval/10_eval": {"_type": "video-file", "sha256": "dc26db5ffbb288ebf69be3b37f1a149b05a67b55add127df99546db602a0c6ce", "size": 1385355, "path": "media/videos/eval/10_eval_10_dc26db5ffbb288ebf69b.mp4"}, "eval/11_eval": {"_type": "video-file", "sha256": "f83167404e8bb0859778ab785b3ec72f319922e32ba8be47628685d52a3fb45e", "size": 1451754, "path": "media/videos/eval/11_eval_11_f83167404e8bb0859778.mp4"}, "eval/video": {"_type": "video-file", "sha256": "25445a41b5bbda0ed7e2e0845eaa5c96373705c5c738fe640c1ea70a07b4176c", "size": 262, "path": "media/videos/eval/video_12_25445a41b5bbda0ed7e2.mp4"}, "_wandb": {"runtime": 2633}}
h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug-internal.log ADDED
The diff for this file is too large to render. See raw diff
 
h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug.log ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Current SDK version is 0.17.5
2
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Configure stats pid to 2520639
3
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from /home/leonmkim/.config/wandb/settings
4
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/settings
5
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Loading settings from environment variables: {}
6
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Applying setup settings: {'_disable_service': False}
7
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Inferring run settings from compute environment: {'program_relpath': 'FISH/eval_robot.py', 'program_abspath': '/home/leonmkim/fish_leon/FISH/eval_robot.py', 'program': '/home/leonmkim/fish_leon/FISH/eval_robot.py'}
8
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_setup.py:_flush():76] Applying login settings: {}
9
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:_log_setup():529] Logging user logs to /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug.log
10
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:_log_setup():530] Logging internal logs to /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/wandb/run-20250117_151044-h18xe90d/logs/debug-internal.log
11
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():569] calling init triggers
12
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():576] wandb.init called with sweep_config: {}
13
+ config: {'root_dir': '/home/leonmkim/fish_leon', 'replay_buffer_size': 150000, 'replay_buffer_num_workers': 2, 'nstep': 3, 'batch_size': 128, 'seed': 0, 'dataset_shuffle_seed': 0, 'device': 'cuda', 'save_video': True, 'save_train_video': True, 'use_tb': True, 'use_wandb': True, 'wandb_run_id': '3456_0', 'wandb_notes': '3456_0_req_3921_0', 'eval': True, 'true_action_history': False, 'train_pad_after': 4, 'process_contact_features': True, 'obs_type': 'pixels', 'use_color': False, 'use_depth': True, 'use_masks': True, 'mask_list': ['EE_obj_mask'], 'mask_representation': 'channels', 'crop_hw': [144, 144], 'crop_down_offset': 48, 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'add_crop_binary_mask': False, 'add_coord_conv_map': False, 'use_context_color': False, 'use_context_depth': False, 'use_context_segmask': False, 'context_color_crop_type': None, 'context_depth_crop_type': None, 'context_segmask_crop_type': None, 'context_add_crop_binary_mask': False, 'context_add_coord_conv_map': False, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'max_contact_prob': 0.1, 'max_depth': 2.0, 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'dtc_adaptive_normalization': False, 'mask_normals_within_sdf': True, 'adaptive_normals_mask': True, 'learnable_contact_preprocess_params': True, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'contact_estimation_model_ckpt_path': '~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt', 'encoder_type': 'small', 'debug_timestamps': False, 'open_loop': False, 'action_trajectories': True, 'stop_after_action': False, 'interpolation_frequency': 25, 'policy_frequency': 5, 'wait_for_new_camera_frames': True, 'baseline': False, 'train_demo_idxs_list_or_num': -1, 'log_train_every_steps': 25, 'name_of_expert_demo': '120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'expert_dataset_dirpath': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'store_dataset_in_memory': False, 'expert_dataset': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'action_key': 'action_trajectory_25hz', 'semantic_demo_grouping_name': 'semantic_demo_grouping.yaml', 'semantic_demo_grouping': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml', 'include_groups_list': 'all', 'expert_dataset_config': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demo_config.yaml', 'name_of_valid_demo': '120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'valid_dataset_dir': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'valid_demo_idxs_list_or_num': None, 'val_num_groups': 5, 'load_bc': True, 'checkpoint_epoch_list': [99, 199, 299, 399, 499, 599, 699, 799, 899, 999, 1249, 1499, 1749, 1999, 2999, 3999, 4999, 5999, 6999, 7999, 8999, 9999], 'snapshot_root_dir': '/mnt/grasp_high_usage/leonmkim/contact_estimation/FISH', 'save_snapshot': True, 'save_last_snapshot': True, 'save_snapshot_when_done': True, 'top_k_checkpoints': 5, 'save_snapshot_link_to_weights_dir': 'deprecated', 'restore_missing_checkpoint': None, 'bc_regularize': False, 'bc_weight_type': 'qfilter', 'experiment_dir': './exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0', 'agent': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgent', 'name': 'diffusion_policy', 'load_checkpoint': True, 'device': 'cuda', 'n_obs_steps': 1, 'suite_name': 'frankagym', 'obs_type': 'pixels', 'enable_arm': True, 'enable_camera': True, 'use_tb': True, 'desired_image_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'config': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgentConfig', 'compile': False, 'device': 'cuda', 'cam_resize_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'policy_frequency': 5, 'interpolation_frequency': 25, 'policy_cfg': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig', 'n_obs_steps': 1, 'horizon': 36, 'n_action_steps': 36, 'output_shapes': {'action': [7]}, 'input_normalization_modes': {'observation.image': 'mean_std', 'observation.state': 'min_max', 'observation.action_history': 'min_max'}, 'output_normalization_modes': {'action': 'min_max'}, 'vision_backbone': 'resnet18', 'crop_distractors_tlhw': [32, 68, 174, 174], 'pretrained_backbone_weights': None, 'transforms': [{'_target_': 'torchaug.transforms.RandomAffine', 'degrees': [-5, 5], 'translate': [0.05, 0.05], 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}, {'_target_': 'torchaug.transforms.RandomColorJitter', 'brightness': 0.3, 'contrast': 0.4, 'saturation': 0.5, 'hue': 0.08, 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}], 'use_group_norm': True, 'spatial_softmax_num_keypoints': 32, 'action_history_encoder_config': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig', 'in_channels': 7, 'out_channels': 32, 'history_length': 6, 'kernel_size': 5, 'downsample_kernel_size': 3, 'downsample_stride': 2, 'downsample_padding': 1}, 'down_dims': [256, 512, 1024], 'kernel_size': 5, 'n_groups': 8, 'diffusion_step_embed_dim': 128, 'use_film_scale_modulation': True, 'noise_scheduler_type': 'DDIM', 'beta_schedule': 'squaredcos_cap_v2', 'beta_start': 0.0001, 'beta_end': 0.02, 'prediction_type': 'epsilon', 'clip_sample': True, 'clip_sample_range': 1.0, 'num_train_timesteps': 50, 'num_inference_steps': 10, 'do_mask_loss_for_padding': False, 'input_shapes': {'observation.image': [13, 180, 240], 'context_observation.image': [13, 180, 240], 'observation.state': [8], 'observation.action_history': [7]}}, 'train_cfg': {'_target_': 'utils.TrainConfig', 'lr': 0.0001, 'lr_scheduler': 'cosine', 'lr_warmup_steps': 500, 'adam_betas': [0.95, 0.999], 'adam_eps': 1e-08, 'adam_weight_decay': 1e-06, 'grad_clip_norm': 10, 'offline_steps': 1000000, 'use_amp': True}, 'observation_cfg': {'_target_': 'agent.encoder.VisualFeatureSet', 'use_depth': True, 'use_color': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': True, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}, 'context_input_config': {'_target_': 'agent.encoder.ContextInputConfig', 'use_color': False, 'use_depth': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': False, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}}, 'mask_soft_approx_scheduler_config': {'_target_': 'agent.encoder.MaskSoftApproxSchedulerConfig', 'num_steps': 40000, 'initial_value': 10.0, 'final_value': 1000.0, 'interpolation_scheme': 'cosine'}, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'max_contact_prob': 0.1, 'mask_normals_within_sdf': True, 'dtc_adaptive_normalization': False, 'adaptive_normals_mask': True, 'max_depth': 2.0, 'image_shape': [13, 180, 240], 'learnable_contact_preprocess_params': True, 'learning_rate': 0.0001, 'weight_decay': 0.0, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'zero_centered': False, 'crop_distractors_tlhw': None}}}, 'suite': {'suite': 'frankagym', 'name': 'frankagym', 'frame_stack': 1, 'action_repeat': 1, 'discount': 0.99, 'hidden_dim': 1024, 'num_train_frames': 2010, 'num_seed_frames': 260, 'num_train_epochs': 5000, 'validate_every_epochs': 100, 'validate_diffusion_on_action_loss_every_epochs': 500, 'train_eval_diffusion_on_action_loss_every_epochs': 500, 'check_topk_every_epochs': 10, 'save_snapshot_every_epochs': 5000, 'eval_every_frames': 2000, 'num_eval_episodes': 5, 'save_snapshot': True, 'wait_for_user_to_start_episode': True, 'task_make_fn': {'_target_': 'suite.frankagym.make', 'name': 'FrankaInsertion-v1', 'height': 240, 'width': 320, 'frame_stack': 1, 'action_repeat': 1, 'seed': 0, 'enable_arm': True, 'enable_gripper': True, 'start_with_gripper_open': True, 'enable_camera': True, 'path_to_depth_extrinsics': '~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy', 'contact_estimation_model_ckpt_path': '~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt', 'x_limit': [0.2, 0.7], 'y_limit': [-0.4, 0.4], 'z_limit': [-0.05, 0.55], 'device': 'cuda', 'interpolation_frequency': 25, 'policy_frequency': 5, 'debug_timestamps': False, 'stop_after_action': False, 'open_loop': False, 'wait_for_new_camera_frames': True, 'action_key': 'action_trajectory_25hz', 'action_trajectory_horizon': 36, 'action_trajectories': True, 'path_to_zarr_dataset': '/home/leonmkim/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/120_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'agent_policy_cfg': {'_target_': 'agent.diffusion_policy.DiffusionPolicyAgentConfig', 'compile': False, 'device': 'cuda', 'cam_resize_shape': [13, 180, 240], 'orig_cam_shape': [3, 240, 320], 'policy_frequency': 5, 'interpolation_frequency': 25, 'policy_cfg': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig', 'n_obs_steps': 1, 'horizon': 36, 'n_action_steps': 36, 'output_shapes': {'action': [7]}, 'input_normalization_modes': {'observation.image': 'mean_std', 'observation.state': 'min_max', 'observation.action_history': 'min_max'}, 'output_normalization_modes': {'action': 'min_max'}, 'vision_backbone': 'resnet18', 'crop_distractors_tlhw': [32, 68, 174, 174], 'pretrained_backbone_weights': None, 'transforms': [{'_target_': 'torchaug.transforms.RandomAffine', 'degrees': [-5, 5], 'translate': [0.05, 0.05], 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}, {'_target_': 'torchaug.transforms.RandomColorJitter', 'brightness': 0.3, 'contrast': 0.4, 'saturation': 0.5, 'hue': 0.08, 'batch_transform': True, 'num_chunks': -1, 'batch_inplace': True}], 'use_group_norm': True, 'spatial_softmax_num_keypoints': 32, 'action_history_encoder_config': {'_target_': 'lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig', 'in_channels': 7, 'out_channels': 32, 'history_length': 6, 'kernel_size': 5, 'downsample_kernel_size': 3, 'downsample_stride': 2, 'downsample_padding': 1}, 'down_dims': [256, 512, 1024], 'kernel_size': 5, 'n_groups': 8, 'diffusion_step_embed_dim': 128, 'use_film_scale_modulation': True, 'noise_scheduler_type': 'DDIM', 'beta_schedule': 'squaredcos_cap_v2', 'beta_start': 0.0001, 'beta_end': 0.02, 'prediction_type': 'epsilon', 'clip_sample': True, 'clip_sample_range': 1.0, 'num_train_timesteps': 50, 'num_inference_steps': 10, 'do_mask_loss_for_padding': False, 'input_shapes': {'observation.image': [13, 180, 240], 'context_observation.image': [13, 180, 240], 'observation.state': [8], 'observation.action_history': [7]}}, 'train_cfg': {'_target_': 'utils.TrainConfig', 'lr': 0.0001, 'lr_scheduler': 'cosine', 'lr_warmup_steps': 500, 'adam_betas': [0.95, 0.999], 'adam_eps': 1e-08, 'adam_weight_decay': 1e-06, 'grad_clip_norm': 10, 'offline_steps': 1000000, 'use_amp': True}, 'observation_cfg': {'_target_': 'agent.encoder.VisualFeatureSet', 'use_depth': True, 'use_color': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': True, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}, 'context_input_config': {'_target_': 'agent.encoder.ContextInputConfig', 'use_color': False, 'use_depth': False, 'mask_input_dict': {'_target_': 'agent.encoder.MaskInputDict', 'enable': False, 'representation': 'channels', 'mask_list': ['EE_obj_mask']}, 'crop_input_config': {'_target_': 'agent.encoder.CropInputConfig', 'color_crop_type': None, 'depth_crop_type': None, 'segmask_crop_type': None, 'crop_hw': [144, 144], 'crop_down_offset': 48, 'add_crop_binary_mask': False, 'add_coord_conv_map': False}}, 'mask_soft_approx_scheduler_config': {'_target_': 'agent.encoder.MaskSoftApproxSchedulerConfig', 'num_steps': 40000, 'initial_value': 10.0, 'final_value': 1000.0, 'interpolation_scheme': 'cosine'}, 'use_contact_map': False, 'use_sdf_maps': False, 'use_normals_maps': False, 'which_objects': 'both', 'grasped_dtc_max_value': 0.2, 'env_dtc_max_value': 0.4, 'grasped_normals_mask_max_dtc_value': 0.2, 'env_normals_mask_max_dtc_value': 0.4, 'clamp_dtc': True, 'max_contact_prob': 0.1, 'mask_normals_within_sdf': True, 'dtc_adaptive_normalization': False, 'adaptive_normals_mask': True, 'max_depth': 2.0, 'image_shape': [13, 180, 240], 'learnable_contact_preprocess_params': True, 'learning_rate': 0.0001, 'weight_decay': 0.0, 'contact_model_name': 'local_multitask_outhd64all_home_crop_h144w144d48_mask_ctxtmask_seed_220979_epoch_9', 'zero_centered': False}}, 'true_action_history': False}}, 'num_train_frames_bc': 50000, 'num_train_frames_drq': 1100000, 'stddev_schedule_drq': 'linear(1.0,0.1,100000)', 'task_name': 'FrankaInsertion-v1', 'num_train_frames_vinn': 25000, 'num_train_frames_diffusion': 1000000, 'num_train_epochs_bc': 5000, 'num_train_epochs_diffusion': 15000, 'validate_every_epochs_bc': 5, 'validate_every_epochs_diffusion': 250, 'validate_diffusion_on_action_loss_every_epochs': 250, 'train_eval_diffusion_on_action_loss_every_epochs': 250, 'check_topk_every_epochs': 5, 'check_topk_every_epochs_diffusion': 250, 'save_snapshot_every_epochs_diffusion': 1500, 'x_limit': [0.2, 0.7], 'y_limit': [-0.4, 0.4], 'z_limit': [-0.05, 0.55], 'home_displacement': [0.55, 0.0, 0.55, 180.0, 0.0, 0.0], 'enable_gripper': True, 'start_with_gripper_open': True, 'offset_mask': [1, 1, 1, 1, 1, 1], 'path_to_depth_extrinsics': '~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy', 'test': {'username': 'leonmkim', 'hostname': 'grasp-login1', 'name_of_expert_demo': '112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'root_dir': '~/fish_leon', 'expert_dataset_dirpath': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act', 'expert_dataset': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/demos.zarr', 'semantic_demo_grouping_name': 'semantic_demo_grouping.yaml', 'semantic_demo_grouping': '~/fish_leon/FISH/expert_demos/frankagym/FrankaInsertion-v1/112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act/semantic_demo_grouping.yaml', 'include_groups_list': 'all', 'batch_size': 128, 'store_dataset_in_memory': False, 'use_tb': True, 'local_snapshot_root_dir': '/mnt/bighdd/fish_contact_backup', 'local_snapshot_dir': '/mnt/bighdd/fish_contact_backup/exp_local/frankagym_pixels/FrankaInsertion-v1', 'resume_wandb_run': False}, 'feature_type': '180x240_crpdstlhw24x51x130x130_1_D_2.0_msk_channels_EE_obj_mask_acthist_hst6_out32_dwnkrnl3_dwnstrd2_dwnpd1', 'save_buffer': True, 'num_eval': 20, 'random_start': False, 'eval_starts': '/home/leonmkim/fish_leon/FISH/eval_starts/frankagym_pixels/FrankaInsertion-v1', 'num_valid_demos': None, 'load_checkpoint': True, 'checkpoint_epoch': 12000, 'load_residual_weight': False, 'checkpoint_root_dir': '/home/leonmkim/fish_leon/FISH', 'checkpoint_weight_dir': '/home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0', 'residual_weight': '/home/leonmkim/fish_leon/FISH/weights/frankagym_pixels/FrankaInsertion-v1/weight.pt', 'final_experiment_dir': './exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d'}
14
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():619] starting backend
15
+ 2025-01-17 15:10:44,424 INFO MainThread:2520639 [wandb_init.py:init():623] setting up manager
16
+ 2025-01-17 15:10:44,430 INFO MainThread:2520639 [backend.py:_multiprocessing_setup():105] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
17
+ 2025-01-17 15:10:44,432 INFO MainThread:2520639 [wandb_init.py:init():631] backend started and connected
18
+ 2025-01-17 15:10:44,447 INFO MainThread:2520639 [wandb_init.py:init():720] updated telemetry
19
+ 2025-01-17 15:10:44,454 INFO MainThread:2520639 [wandb_init.py:init():753] communicating run to backend with 90.0 second timeout
20
+ 2025-01-17 15:10:44,753 INFO MainThread:2520639 [wandb_run.py:_on_init():2435] communicating current version
21
+ 2025-01-17 15:10:44,796 INFO MainThread:2520639 [wandb_run.py:_on_init():2444] got version response upgrade_message: "wandb version 0.19.4 is available! To upgrade, please run:\n $ pip install wandb --upgrade"
22
+
23
+ 2025-01-17 15:10:44,797 INFO MainThread:2520639 [wandb_init.py:init():804] starting run threads in backend
24
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_console_start():2413] atexit reg
25
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_redirect():2255] redirect: wrap_raw
26
+ 2025-01-17 15:10:45,171 INFO MainThread:2520639 [wandb_run.py:_redirect():2320] Wrapping output streams.
27
+ 2025-01-17 15:10:45,172 INFO MainThread:2520639 [wandb_run.py:_redirect():2345] Redirects installed.
28
+ 2025-01-17 15:10:45,173 INFO MainThread:2520639 [wandb_init.py:init():847] run started, returning control to user process
29
+ 2025-01-17 15:10:45,173 INFO MainThread:2520639 [wandb_run.py:_tensorboard_callback():1544] tensorboard callback: /home/leonmkim/fish_leon/FISH/exp_local/frankagym_pixels/FrankaInsertion-v1/3456_0/h18xe90d/tb, True
30
+ 2025-01-17 15:10:51,873 INFO MainThread:2520639 [wandb_run.py:_config_callback():1382] config_cb None None {'grasped_obj_name': 'greece', 'left_book_slot': 'twodim'}
31
+ 2025-01-17 15:54:38,211 INFO MainThread:2520639 [wandb_run.py:_finish():2107] finishing run serialexperimentsleon/extrinsic_contact_downstream/h18xe90d
32
+ 2025-01-17 15:54:38,263 INFO MainThread:2520639 [wandb_run.py:_atexit_cleanup():2374] got exitcode: 0
33
+ 2025-01-17 15:54:38,310 INFO MainThread:2520639 [wandb_run.py:_restore():2352] restore
34
+ 2025-01-17 15:54:38,310 INFO MainThread:2520639 [wandb_run.py:_restore():2358] restore done
35
+ 2025-01-17 15:54:51,019 INFO MainThread:2520639 [wandb_run.py:_footer_history_summary_info():4016] rendering history
36
+ 2025-01-17 15:54:51,043 INFO MainThread:2520639 [wandb_run.py:_footer_history_summary_info():4048] rendering summary
37
+ 2025-01-17 15:54:52,124 INFO MainThread:2520639 [wandb_run.py:_footer_sync_info():3975] logging synced files
h18xe90d/wandb/run-20250117_151044-h18xe90d/run-h18xe90d.wandb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc4d18c9e9e4d0a29a24c590ccc67c879465fbcb79d5d22e996fb8dfd2501747
3
+ size 198077
odxnffav/episode_rosbags/episode_0_2025-01-17-14-30-16.bag ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c0f1814eb8dac57898fc25a137a8f1779a2b879637fb407c86ca8f67fd30a09
3
+ size 1412446744
odxnffav/episode_rosbags/episode_12_2025-01-17-14-39-07.bag ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421377c48e9d62c96811b77ed81aedcc8cc0efc8893596907ac81ece64574902
3
+ size 1412528869
odxnffav/episode_rosbags/episode_14_2025-01-17-14-40-42.bag ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c220fcee6b956cc180b28c809577b4a6eb5df2f952e29244247af1cec563eba4
3
+ size 1413540107