Problem
Script crashes with TypeError: robo_run() got multiple values for argument 'pixel_values' due to incorrect argument order in gcg.robo_run() call.
Location
File: experiments/single_step/run_transfer.py, line 124
Function expects: (model, processor, target, pixel_values, config),
Call was passing: (model, processor, action_tokenizer, target, pixel_values=pixel_values, config)
Fix
Remove action_tokenizer argument:
result = gcg.robo_run(openvla_model, openvla_processor, target_str, pixel_values, config=config)
Problem
Script crashes with TypeError:
robo_run()got multiple values for argument'pixel_values'due to incorrect argument order ingcg.robo_run()call.Location
File:
experiments/single_step/run_transfer.py, line 124Function expects:
(model, processor, target, pixel_values, config),Call was passing:
(model, processor, action_tokenizer, target, pixel_values=pixel_values, config)Fix
Remove action_tokenizer argument: