schlevik / sam

3 stars 0 forks source link

Error on conda env: what's the version of Ax? #2

Open Bill1235813 opened 1 year ago

Bill1235813 commented 1 year ago

I followed your instructions on installing conda env step-by-step, but I got the error of ax.service package not found when running your code.

After I installed the ax package, I received the same error as this issue when running the code. I assume my version of ax is different from yours.

Could you provide your version of ax? Or a conda env .yml could be helpful. Thanks!

schlevik commented 1 year ago

Hi and thanks for your interest in our work!

If i recall correctly, ax was used to run a HP-optimisation when training on squad and evaluating on the SAM stresstest. First, to make sure, did you install ax-platform? I think the name ax is reserved for some other package on PyPI.

Should all else fail, you can simply rename finetune_transformers.py to finetune_transformers.py.bak, this way it won't be imported by main.py and you should be able to run all other scripts.

Hope that helps!