ScreenAgent icon indicating copy to clipboard operation
ScreenAgent copied to clipboard

Version of sat lib

Open HeimingX opened this issue 10 months ago • 0 comments

Hi, thanks for the interesting work and the awesome open-sourced codebase.

I'd like to know what version of sat lib you used for ScreenAgent training. In the latest version(0.4.11), the official tutorial for dataset creation is as follows:

def create_dataset_function(path, args):
    # Here to load the dataset
    # ...
    assert isinstance(dataset, torch.utils.data.Dataset)
    return dataset

where create_dataset_function get two parameters, i.e., path and args.

However, in the finetune_ScreenAgent.py, the data creation function does not have those parameters: https://github.com/niuzaisheng/ScreenAgent/blob/85881785f9007d7d336715a593e6f2470c82b4e5/train/finetune_ScreenAgent.py#L284

https://github.com/niuzaisheng/ScreenAgent/blob/85881785f9007d7d336715a593e6f2470c82b4e5/train/dataset/mixture_dataset.py#L37

Could you please help me to solve this problem? Many thanks

HeimingX avatar Mar 26 '24 06:03 HeimingX