From a7117200f0430d5d1aa707a0c8bc2f3bbe8756f3 Mon Sep 17 00:00:00 2001 From: Junjia Liu Date: Sun, 1 Dec 2024 12:17:53 +0800 Subject: [PATCH] Update --- README.md | 68 +++++++++++++-------------- doc/source/lfd/RofuncRL/AMP.md | 8 ++-- doc/source/lfd/RofuncRL/ASE.md | 10 ++-- doc/source/lfd/RofuncRL/PPO.md | 2 +- examples/learning_rl/README.rst | 82 ++++++++++++++++----------------- scripts/utils/gif_cropping.sh | 4 +- scripts/utils/gif_watermark.sh | 4 +- 7 files changed, 89 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index d6c636416..e1ba261f2 100644 --- a/README.md +++ b/README.md @@ -147,46 +147,46 @@ section of the documentation. | Tasks | Animation | Performance | [ModelZoo](https://github.com/Skylark0924/Rofunc/blob/main/rofunc/config/learning/model_zoo.json) | |-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------------------------------------------------------------------------------------------| -| Ant | ![](doc/img/task_gifs/AntRofuncRLPPO.gif) | | ✅ | +| Ant | ![](doc/img/task_gif/AntRofuncRLPPO.gif) | | ✅ | | Cartpole | | | | -| Franka
Cabinet | ![](doc/img/task_gifs/FrankaCabinetRofuncRLPPO.gif) | | ✅ | +| Franka
Cabinet | ![](doc/img/task_gif/FrankaCabinetRofuncRLPPO.gif) | | ✅ | | Franka
CubeStack | | | | -| CURI
Cabinet | ![](doc/img/task_gifs/CURICabinetRofuncRLPPO.gif) | | ✅ | -| CURI
CabinetImage | ![](doc/img/task_gifs/CURICabinetRofuncRLPPO.gif) | | | +| CURI
Cabinet | ![](doc/img/task_gif/CURICabinetRofuncRLPPO.gif) | | ✅ | +| CURI
CabinetImage | ![](doc/img/task_gif/CURICabinetRofuncRLPPO.gif) | | | | CURI
CabinetBimanual | | | | -| CURIQbSoftHand
SynergyGrasp | | | ✅ | -| Humanoid | ![](doc/img/task_gifs/HumanoidRofuncRLPPO.gif) | | ✅ | -| HumanoidAMP
Backflip | ![](doc/img/task_gifs/HumanoidFlipRofuncRLAMP.gif) | | ✅ | +| CURIQbSoftHand
SynergyGrasp | | | ✅ | +| Humanoid | ![](doc/img/task_gif/HumanoidRofuncRLPPO.gif) | | ✅ | +| HumanoidAMP
Backflip | ![](doc/img/task_gif/HumanoidFlipRofuncRLAMP.gif) | | ✅ | | HumanoidAMP
Walk | | | ✅ | -| HumanoidAMP
Run | ![](doc/img/task_gifs/HumanoidRunRofuncRLAMP.gif) | | ✅ | -| HumanoidAMP
Dance | ![](doc/img/task_gifs/HumanoidDanceRofuncRLAMP.gif) | | ✅ | -| HumanoidAMP
Hop | ![](doc/img/task_gifs/HumanoidHopRofuncRLAMP.gif) | | ✅ | -| HumanoidASE
GetupSwordShield | ![](doc/img/task_gifs/HumanoidASEGetupSwordShieldRofuncRLASE.gif) | | ✅ | -| HumanoidASE
PerturbSwordShield | ![](doc/img/task_gifs/HumanoidASEPerturbSwordShieldRofuncRLASE.gif) | | ✅ | -| HumanoidASE
HeadingSwordShield | ![](doc/img/task_gifs/HumanoidASEHeadingSwordShieldRofuncRLASE.gif) | | ✅ | -| HumanoidASE
LocationSwordShield | ![](doc/img/task_gifs/HumanoidASELocationSwordShieldRofuncRLASE.gif) | | ✅ | +| HumanoidAMP
Run | ![](doc/img/task_gif/HumanoidRunRofuncRLAMP.gif) | | ✅ | +| HumanoidAMP
Dance | ![](doc/img/task_gif/HumanoidDanceRofuncRLAMP.gif) | | ✅ | +| HumanoidAMP
Hop | ![](doc/img/task_gif/HumanoidHopRofuncRLAMP.gif) | | ✅ | +| HumanoidASE
GetupSwordShield | ![](doc/img/task_gif/HumanoidASEGetupSwordShieldRofuncRLASE.gif) | | ✅ | +| HumanoidASE
PerturbSwordShield | ![](doc/img/task_gif/HumanoidASEPerturbSwordShieldRofuncRLASE.gif) | | ✅ | +| HumanoidASE
HeadingSwordShield | ![](doc/img/task_gif/HumanoidASEHeadingSwordShieldRofuncRLASE.gif) | | ✅ | +| HumanoidASE
LocationSwordShield | ![](doc/img/task_gif/HumanoidASELocationSwordShieldRofuncRLASE.gif) | | ✅ | | HumanoidASE
ReachSwordShield | | | ✅ | -| HumanoidASE
StrikeSwordShield | ![](doc/img/task_gifs/HumanoidASEStrikeSwordShieldRofuncRLASE.gif) | | ✅ | -| BiShadowHand
BlockStack | ![](doc/img/task_gifs/BiShadowHandBlockStackRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
BottleCap | ![](doc/img/task_gifs/BiShadowHandBottleCapRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
CatchAbreast | ![](doc/img/task_gifs/BiShadowHandCatchAbreastRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
CatchOver2Underarm | ![](doc/img/task_gifs/BiShadowHandCatchOver2UnderarmRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
CatchUnderarm | ![](doc/img/task_gifs/BiShadowHandCatchUnderarmRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
DoorOpenInward | ![](doc/img/task_gifs/BiShadowHandDoorOpenInwardRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
DoorOpenOutward | ![](doc/img/task_gifs/BiShadowHandDoorOpenOutwardRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
DoorCloseInward | ![](doc/img/task_gifs/BiShadowHandDoorCloseInwardRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
DoorCloseOutward | ![](doc/img/task_gifs/BiShadowHandDoorCloseOutwardRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
GraspAndPlace | ![](doc/img/task_gifs/BiShadowHandGraspAndPlaceRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
LiftUnderarm | ![](doc/img/task_gifs/BiShadowHandLiftUnderarmRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
HandOver | ![](doc/img/task_gifs/BiShadowHandOverRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
Pen | ![](doc/img/task_gifs/BiShadowHandPenRofuncRLPPO.gif) | | ✅ | +| HumanoidASE
StrikeSwordShield | ![](doc/img/task_gif/HumanoidASEStrikeSwordShieldRofuncRLASE.gif) | | ✅ | +| BiShadowHand
BlockStack | ![](doc/img/task_gif/BiShadowHandBlockStackRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
BottleCap | ![](doc/img/task_gif/BiShadowHandBottleCapRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
CatchAbreast | ![](doc/img/task_gif/BiShadowHandCatchAbreastRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
CatchOver2Underarm | ![](doc/img/task_gif/BiShadowHandCatchOver2UnderarmRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
CatchUnderarm | ![](doc/img/task_gif/BiShadowHandCatchUnderarmRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
DoorOpenInward | ![](doc/img/task_gif/BiShadowHandDoorOpenInwardRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
DoorOpenOutward | ![](doc/img/task_gif/BiShadowHandDoorOpenOutwardRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
DoorCloseInward | ![](doc/img/task_gif/BiShadowHandDoorCloseInwardRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
DoorCloseOutward | ![](doc/img/task_gif/BiShadowHandDoorCloseOutwardRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
GraspAndPlace | ![](doc/img/task_gif/BiShadowHandGraspAndPlaceRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
LiftUnderarm | ![](doc/img/task_gif/BiShadowHandLiftUnderarmRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
HandOver | ![](doc/img/task_gif/BiShadowHandOverRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
Pen | ![](doc/img/task_gif/BiShadowHandPenRofuncRLPPO.gif) | | ✅ | | BiShadowHand
PointCloud | | | | -| BiShadowHand
PushBlock | ![](doc/img/task_gifs/BiShadowHandPushBlockRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
ReOrientation | ![](doc/img/task_gifs/BiShadowHandReOrientationRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
Scissors | ![](doc/img/task_gifs/BiShadowHandScissorsRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
SwingCup | ![](doc/img/task_gifs/BiShadowHandSwingCupRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
Switch | ![](doc/img/task_gifs/BiShadowHandSwitchRofuncRLPPO.gif) | | ✅ | -| BiShadowHand
TwoCatchUnderarm | ![](doc/img/task_gifs/BiShadowHandTwoCatchUnderarmRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
PushBlock | ![](doc/img/task_gif/BiShadowHandPushBlockRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
ReOrientation | ![](doc/img/task_gif/BiShadowHandReOrientationRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
Scissors | ![](doc/img/task_gif/BiShadowHandScissorsRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
SwingCup | ![](doc/img/task_gif/BiShadowHandSwingCupRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
Switch | ![](doc/img/task_gif/BiShadowHandSwitchRofuncRLPPO.gif) | | ✅ | +| BiShadowHand
TwoCatchUnderarm | ![](doc/img/task_gif/BiShadowHandTwoCatchUnderarmRofuncRLPPO.gif) | | ✅ | diff --git a/doc/source/lfd/RofuncRL/AMP.md b/doc/source/lfd/RofuncRL/AMP.md index ae998a9b4..fa28e22fe 100644 --- a/doc/source/lfd/RofuncRL/AMP.md +++ b/doc/source/lfd/RofuncRL/AMP.md @@ -36,7 +36,7 @@ with torch.no_grad(): ### Humanoid Run -![HumanoidAMPRun Inference](../../../img/task_gifs/HumanoidRunRofuncRLAMP.gif) +![HumanoidAMPRun Inference](../../../img/task_gif/HumanoidRunRofuncRLAMP.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py --task HumanoidAMP_run --inference @@ -44,7 +44,7 @@ python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py -- ### Humanoid BackFlip -![HumanoidAMPFlip Inference](../../../img/task_gifs/HumanoidFlipRofuncRLAMP.gif) +![HumanoidAMPFlip Inference](../../../img/task_gif/HumanoidFlipRofuncRLAMP.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py --task HumanoidAMP_backflip --inference @@ -52,14 +52,14 @@ python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py -- ### Humanoid Dance -![HumanoidAMPDance Inference](../../../img/task_gifs/HumanoidDanceRofuncRLAMP.gif) +![HumanoidAMPDance Inference](../../../img/task_gif/HumanoidDanceRofuncRLAMP.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py --task HumanoidAMP_dance --inference ``` ### Humanoid Hop -![HumanoidAMPHop Inference](../../../img/task_gifs/HumanoidHopRofuncRLAMP.gif) +![HumanoidAMPHop Inference](../../../img/task_gif/HumanoidHopRofuncRLAMP.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidAMP_RofuncRL.py --task HumanoidAMP_hop --inference diff --git a/doc/source/lfd/RofuncRL/ASE.md b/doc/source/lfd/RofuncRL/ASE.md index 7b558c940..27aa8c05a 100644 --- a/doc/source/lfd/RofuncRL/ASE.md +++ b/doc/source/lfd/RofuncRL/ASE.md @@ -10,7 +10,7 @@ ### Pre-trained latent space model -![](../../../img/task_gifs/HumanoidASEGetupSwordShieldRofuncRLASE.gif) +![](../../../img/task_gif/HumanoidASEGetupSwordShieldRofuncRLASE.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py --task HumanoidASEGetupSwordShield --motion_file reallusion_sword_shield/dataset_reallusion_sword_shield.yaml --inference @@ -23,7 +23,7 @@ boxes to the humanoid robot). It will use **the same pre-trained latent space mo the `reset` function to reset by the maximum length of the episode, rather than resetting immediately when robots fall on the ground. -![](../../../img/task_gifs/HumanoidASEPerturbSwordShieldRofuncRLASE.gif) +![](../../../img/task_gif/HumanoidASEPerturbSwordShieldRofuncRLASE.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py --task HumanoidASEPerturbSwordShield --motion_file reallusion_sword_shield/dataset_reallusion_sword_shield.yaml --inference @@ -37,7 +37,7 @@ python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py -- `HumanoidASEHeadingSwordShield` task: the humanoid robot should face to the blue line and walk towards the red line. -![](../../../img/task_gifs/HumanoidASEHeadingSwordShieldRofuncRLASE.gif) +![](../../../img/task_gif/HumanoidASEHeadingSwordShieldRofuncRLASE.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py --task HumanoidASEHeadingSwordShield --motion_file reallusion_sword_shield/RL_Avatar_Idle_Ready_Motion.npy --inference @@ -48,7 +48,7 @@ python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py -- `HumanoidASELocationSwordShield` task: the humanoid robot should walk to the red location. -![](../../../img/task_gifs/HumanoidASELocationSwordShieldRofuncRLASE.gif) +![](../../../img/task_gif/HumanoidASELocationSwordShieldRofuncRLASE.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py --task HumanoidASELocationSwordShield --motion_file reallusion_sword_shield/RL_Avatar_Idle_Ready_Motion.npy --inference @@ -66,7 +66,7 @@ python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py -- `HumanoidASEStrikeSwordShield` task: the humanoid robot should strike the sword to the block. -![](../../../img/task_gifs/HumanoidASEStrikeSwordShieldRofuncRLASE.gif) +![](../../../img/task_gif/HumanoidASEStrikeSwordShieldRofuncRLASE.gif) ```shell python examples/learning_rl/IsaacGym_RofuncRL/example_HumanoidASE_RofuncRL.py --task HumanoidASEStrikeSwordShield --motion_file reallusion_sword_shield/RL_Avatar_Idle_Ready_Motion.npy --inference diff --git a/doc/source/lfd/RofuncRL/PPO.md b/doc/source/lfd/RofuncRL/PPO.md index 7c0f4c5a1..29bb7f40d 100644 --- a/doc/source/lfd/RofuncRL/PPO.md +++ b/doc/source/lfd/RofuncRL/PPO.md @@ -37,7 +37,7 @@ $$ ### CURICabinet -![CURICabinet](../../../img/task_gifs/CURICabinetRofuncRLPPO.gif) +![CURICabinet](../../../img/task_gif/CURICabinetRofuncRLPPO.gif) ```shell python examples/learning_rl/example_CURICabinet_RofuncRL.py --inference diff --git a/examples/learning_rl/README.rst b/examples/learning_rl/README.rst index e4fd3e73c..93509b6df 100644 --- a/examples/learning_rl/README.rst +++ b/examples/learning_rl/README.rst @@ -242,47 +242,47 @@ The following are examples of reinforcement learning methods for robot learning. - .. |Ant-gif| image:: ../../img/task_gifs/AntRofuncRLPPO.gif - .. |FrC-gif| image:: ../../img/task_gifs/FrankaCabinetRofuncRLPPO.gif - .. |CUC-gif| image:: ../../img/task_gifs/CURICabinetRofuncRLPPO.gif - .. |CCI-gif| image:: ../../img/task_gifs/CURICabinetRofuncRLPPO.gif - .. |CSG-gif1| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspSpatulaRofuncRLPPO.gif - .. |CSG-gif2| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspHammerRofuncRLPPO.gif - .. |CSG-gif3| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspKnifeRofuncRLPPO.gif - .. |CSG-gif4| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspLarge_clampRofuncRLPPO.gif - .. |CSG-gif5| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspMugRofuncRLPPO.gif - .. |CSG-gif6| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspPhillips_Screw_DriverRofuncRLPPO.gif - .. |CSG-gif7| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspPower_drillRofuncRLPPO.gif - .. |CSG-gif8| image:: ../../img/task_gifs/CURIQbSoftHandSynergyGraspScissorsRofuncRLPPO.gif - .. |Hod-gif| image:: ../../img/task_gifs/HumanoidRofuncRLPPO.gif - .. |HAB-gif| image:: ../../img/task_gifs/HumanoidFlipRofuncRLAMP.gif - .. |HAR-gif| image:: ../../img/task_gifs/HumanoidRunRofuncRLAMP.gif - .. |HAD-gif| image:: ../../img/task_gifs/HumanoidDanceRofuncRLAMP.gif - .. |HAH-gif| image:: ../../img/task_gifs/HumanoidHopRofuncRLAMP.gif - .. |HEG-gif| image:: ../../img/task_gifs/HumanoidASEGetupSwordShieldRofuncRLASE.gif - .. |HEP-gif| image:: ../../img/task_gifs/HumanoidASEPerturbSwordShieldRofuncRLASE.gif - .. |HEH-gif| image:: ../../img/task_gifs/HumanoidASEHeadingSwordShieldRofuncRLASE.gif - .. |HEL-gif| image:: ../../img/task_gifs/HumanoidASELocationSwordShieldRofuncRLASE.gif - .. |HES-gif| image:: ../../img/task_gifs/HumanoidASEStrikeSwordShieldRofuncRLASE.gif - .. |SBS-gif| image:: ../../img/task_gifs/BiShadowHandBlockStackRofuncRLPPO.gif - .. |SBC-gif| image:: ../../img/task_gifs/BiShadowHandBottleCapRofuncRLPPO.gif - .. |SCA-gif| image:: ../../img/task_gifs/BiShadowHandCatchAbreastRofuncRLPPO.gif - .. |SU2-gif| image:: ../../img/task_gifs/BiShadowHandCatchOver2UnderarmRofuncRLPPO.gif - .. |SCU-gif| image:: ../../img/task_gifs/BiShadowHandCatchUnderarmRofuncRLPPO.gif - .. |SOI-gif| image:: ../../img/task_gifs/BiShadowHandDoorOpenInwardRofuncRLPPO.gif - .. |SOO-gif| image:: ../../img/task_gifs/BiShadowHandDoorOpenOutwardRofuncRLPPO.gif - .. |SCI-gif| image:: ../../img/task_gifs/BiShadowHandDoorCloseInwardRofuncRLPPO.gif - .. |SCO-gif| image:: ../../img/task_gifs/BiShadowHandDoorCloseOutwardRofuncRLPPO.gif - .. |SGP-gif| image:: ../../img/task_gifs/BiShadowHandGraspAndPlaceRofuncRLPPO.gif - .. |SLU-gif| image:: ../../img/task_gifs/BiShadowHandLiftUnderarmRofuncRLPPO.gif - .. |SHO-gif| image:: ../../img/task_gifs/BiShadowHandOverRofuncRLPPO.gif - .. |SPE-gif| image:: ../../img/task_gifs/BiShadowHandPenRofuncRLPPO.gif - .. |SPB-gif| image:: ../../img/task_gifs/BiShadowHandPushBlockRofuncRLPPO.gif - .. |SRO-gif| image:: ../../img/task_gifs/BiShadowHandReOrientationRofuncRLPPO.gif - .. |SSC-gif| image:: ../../img/task_gifs/BiShadowHandScissorsRofuncRLPPO.gif - .. |SSW-gif| image:: ../../img/task_gifs/BiShadowHandSwingCupRofuncRLPPO.gif - .. |SWH-gif| image:: ../../img/task_gifs/BiShadowHandSwitchRofuncRLPPO.gif - .. |STC-gif| image:: ../../img/task_gifs/BiShadowHandTwoCatchUnderarmRofuncRLPPO.gif + .. |Ant-gif| image:: ../../img/task_gif/AntRofuncRLPPO.gif + .. |FrC-gif| image:: ../../img/task_gif/FrankaCabinetRofuncRLPPO.gif + .. |CUC-gif| image:: ../../img/task_gif/CURICabinetRofuncRLPPO.gif + .. |CCI-gif| image:: ../../img/task_gif/CURICabinetRofuncRLPPO.gif + .. |CSG-gif1| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspSpatulaRofuncRLPPO.gif + .. |CSG-gif2| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspHammerRofuncRLPPO.gif + .. |CSG-gif3| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspKnifeRofuncRLPPO.gif + .. |CSG-gif4| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspLarge_clampRofuncRLPPO.gif + .. |CSG-gif5| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspMugRofuncRLPPO.gif + .. |CSG-gif6| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspPhillips_Screw_DriverRofuncRLPPO.gif + .. |CSG-gif7| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspPower_drillRofuncRLPPO.gif + .. |CSG-gif8| image:: ../../img/task_gif/CURIQbSoftHandSynergyGraspScissorsRofuncRLPPO.gif + .. |Hod-gif| image:: ../../img/task_gif/HumanoidRofuncRLPPO.gif + .. |HAB-gif| image:: ../../img/task_gif/HumanoidFlipRofuncRLAMP.gif + .. |HAR-gif| image:: ../../img/task_gif/HumanoidRunRofuncRLAMP.gif + .. |HAD-gif| image:: ../../img/task_gif/HumanoidDanceRofuncRLAMP.gif + .. |HAH-gif| image:: ../../img/task_gif/HumanoidHopRofuncRLAMP.gif + .. |HEG-gif| image:: ../../img/task_gif/HumanoidASEGetupSwordShieldRofuncRLASE.gif + .. |HEP-gif| image:: ../../img/task_gif/HumanoidASEPerturbSwordShieldRofuncRLASE.gif + .. |HEH-gif| image:: ../../img/task_gif/HumanoidASEHeadingSwordShieldRofuncRLASE.gif + .. |HEL-gif| image:: ../../img/task_gif/HumanoidASELocationSwordShieldRofuncRLASE.gif + .. |HES-gif| image:: ../../img/task_gif/HumanoidASEStrikeSwordShieldRofuncRLASE.gif + .. |SBS-gif| image:: ../../img/task_gif/BiShadowHandBlockStackRofuncRLPPO.gif + .. |SBC-gif| image:: ../../img/task_gif/BiShadowHandBottleCapRofuncRLPPO.gif + .. |SCA-gif| image:: ../../img/task_gif/BiShadowHandCatchAbreastRofuncRLPPO.gif + .. |SU2-gif| image:: ../../img/task_gif/BiShadowHandCatchOver2UnderarmRofuncRLPPO.gif + .. |SCU-gif| image:: ../../img/task_gif/BiShadowHandCatchUnderarmRofuncRLPPO.gif + .. |SOI-gif| image:: ../../img/task_gif/BiShadowHandDoorOpenInwardRofuncRLPPO.gif + .. |SOO-gif| image:: ../../img/task_gif/BiShadowHandDoorOpenOutwardRofuncRLPPO.gif + .. |SCI-gif| image:: ../../img/task_gif/BiShadowHandDoorCloseInwardRofuncRLPPO.gif + .. |SCO-gif| image:: ../../img/task_gif/BiShadowHandDoorCloseOutwardRofuncRLPPO.gif + .. |SGP-gif| image:: ../../img/task_gif/BiShadowHandGraspAndPlaceRofuncRLPPO.gif + .. |SLU-gif| image:: ../../img/task_gif/BiShadowHandLiftUnderarmRofuncRLPPO.gif + .. |SHO-gif| image:: ../../img/task_gif/BiShadowHandOverRofuncRLPPO.gif + .. |SPE-gif| image:: ../../img/task_gif/BiShadowHandPenRofuncRLPPO.gif + .. |SPB-gif| image:: ../../img/task_gif/BiShadowHandPushBlockRofuncRLPPO.gif + .. |SRO-gif| image:: ../../img/task_gif/BiShadowHandReOrientationRofuncRLPPO.gif + .. |SSC-gif| image:: ../../img/task_gif/BiShadowHandScissorsRofuncRLPPO.gif + .. |SSW-gif| image:: ../../img/task_gif/BiShadowHandSwingCupRofuncRLPPO.gif + .. |SWH-gif| image:: ../../img/task_gif/BiShadowHandSwitchRofuncRLPPO.gif + .. |STC-gif| image:: ../../img/task_gif/BiShadowHandTwoCatchUnderarmRofuncRLPPO.gif .. |ModelZoo| replace:: `Model Zoo `__ .. |Ant| replace:: `Ant `__ diff --git a/scripts/utils/gif_cropping.sh b/scripts/utils/gif_cropping.sh index a85693177..26da5905c 100644 --- a/scripts/utils/gif_cropping.sh +++ b/scripts/utils/gif_cropping.sh @@ -1,6 +1,6 @@ #!/bin/bash -FILES="/home/ubuntu/Github/Rofunc/doc/img/task_gifs/*.gif" +FILES="/home/ubuntu/Github/Rofunc/doc/img/task_gif/*.gif" for filename in $FILES; do echo "Processing $filename file..." - ffmpeg -i $filename -vf crop=640*ih/480:ih:iw/2-320*ih/480:0 -r 10 -b:v 5000k ../task_gifs2/$(basename -- "$filename") + ffmpeg -i $filename -vf crop=640*ih/480:ih:iw/2-320*ih/480:0 -r 10 -b:v 5000k ../task_gif2/$(basename -- "$filename") done diff --git a/scripts/utils/gif_watermark.sh b/scripts/utils/gif_watermark.sh index 900067f1f..5c80f98b1 100644 --- a/scripts/utils/gif_watermark.sh +++ b/scripts/utils/gif_watermark.sh @@ -1,6 +1,6 @@ #!/bin/bash -FILES="/home/ubuntu/Github/Rofunc/doc/img/task_gifs/*.gif" +FILES="/home/ubuntu/Github/Rofunc/doc/img/task_gif/*.gif" for filename in $FILES; do echo "Processing $filename file..." - ffmpeg -hide_banner -i $filename -i /home/ubuntu/Github/Rofunc/doc/img/logo/logo2_nb.png -filter_complex "[1:v][0:v]scale2ref=oh*mdar:ih/5[logo-out][video-out];[video-out][logo-out]overlay=W-w-10:H-h-10" -c:a copy /home/ubuntu/Github/Rofunc/doc/img/task_gifs/$(basename -- "$filename") -y + ffmpeg -hide_banner -i $filename -i /home/ubuntu/Github/Rofunc/doc/img/logo/logo2_nb.png -filter_complex "[1:v][0:v]scale2ref=oh*mdar:ih/5[logo-out][video-out];[video-out][logo-out]overlay=W-w-10:H-h-10" -c:a copy /home/ubuntu/Github/Rofunc/doc/img/task_gif/$(basename -- "$filename") -y done