siw-engineering / tensor2robot_bcz

Tensor2robot code for isolated bcz(BC-Z: Zero-Shot Task Generalization with Robotic Imitation Learning)
Apache License 2.0
3 stars 0 forks source link

About the training using BC-Z data. #4

Open yangjiangeyjg opened 1 year ago

yangjiangeyjg commented 1 year ago

When I run: python3 -m tensor2robot.bin.run_t2r_trainer --logtostderr \ --gin_configs="/home/v-jiangeyang/tensor2robot/research/bcz/configs/run_train_bc_langcond_trajectory.gin" --gin_bindings="train_eval_model.model_dir="/tmp/bcz/"" --gin_bindings="TRAIN_DATA="/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-21task_v9.0.1.tfrecord/train,/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-79task_v16.0.0.tfrecord/train"" --gin_bindings="EVAL_DATA="/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-21task_v9.0.1.tfrecord/val,/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-79task_v16.0.0."" Report the following error: typeError: train_eval_model() missing 1 required positional argument: 't2r_model' No values supplied by Gin or caller for arguments: ['t2r_model'] Gin had values bound for: [] Caller supplied values for: [] In call to configurable 'train_eval_model' (<function train_eval_model at 0x7fec8bcb43b0>) : No such file or directoryobot/run.sh: line 2: --gin_configs=/home/v-jiangeyang/tensor2robot/research/bcz/configs/run_train_bc_langcond_trajectory.gin : No such file or directoryobot/run.sh: line 3: --gin_bindings=train_eval_model.model_dir=/tmp/bcz/ /home/v-jiangeyang/tensor2robot/run.sh: line 4: --gin_bindings=TRAIN_DATA=/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-21task_v9.0.1.tfrecord/train,/home/v-jiangeyang/robot/archive/: No such file or directorycord/train /home/v-jiangeyang/tensor2robot/run.sh: line 5: --gin_bindings=EVAL_DATA=/home/v-jiangeyang/robot/archive/bc-z-robot/bcz-21task_v9.0.1.tfrecord/val,/home/v-jiangeyang/robot/archive/bc-/bcz-79task_v16.0.0.: No such file or directory

yangjiangeyjg commented 1 year ago

How to write the training command and Can you provide a sample? Thank you very much! @cjpurackal

cjpurackal commented 1 year ago

very sorry, but we no longer work on this.