Skip to content

Fix: Hardcoded path causes FileNotFoundError in run_transfer.py #3

@jonastbrg

Description

@jonastbrg

Problem

The TraceVLA processor initialization uses a hardcoded absolute path /home/eliot/robo-arm-attack/...
That only works on the original machine, causing FileNotFoundError on other systems.

Location

File: experiments/single_step/run_transfer.py, line 145

Fix

Replace hardcoded path with dynamic relative path resolution:

trace_model_path = Path(__file__).parent.parent / "models" / "TraceVLA" / "scaled_offline.pth"
tracevla_trace_processor = TraceProcessor(str(trace_model_path))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions