You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to train PET on a new task. I have edited custom_task_processor.py and custom_task_pvp.py in /examples for my use. So my question is how could I use them to make the program run them before I call cli.py with --task_name my-task. I have seen people saying copying the classes directly to the respective files but is it a formal way to do that?
Thanks.
The text was updated successfully, but these errors were encountered:
I have in the past also copied it into the tasks.py file and approached (yday) to make it better.
When importing the class from the examples dir, rather than adding it directly to tasks.py, I'm facing a circular import error, to be expected, since custom_task_processor.py itself also imports tasks.py. Will share my findings here but also happy if s.o. could just provide a better instruction
Update - posting some git diffs that seem to get me further
Hi, I am trying to train PET on a new task. I have edited
custom_task_processor.py
andcustom_task_pvp.py
in /examples for my use. So my question is how could I use them to make the program run them before I callcli.py
with--task_name my-task
. I have seen people saying copying the classes directly to the respective files but is it a formal way to do that?Thanks.
The text was updated successfully, but these errors were encountered: