microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14.06k stars 1.82k forks source link

require a missing '.experiment' even for the first time running #5733

Open FrankYJY opened 10 months ago

FrankYJY commented 10 months ago

Describe the issue: When I tried HPO Quickstart with PyTorch, I stuck in image image Error: ENOENT: no such file or directory, open 'C:\Users\14048\nni-experiments.experiment' in this snapshot, you can see that it keeps asking for "user/nni-experiments/.experiment" repeatedly (I understand the repeating should be the refreshing request to the backend data) after I tried to put a blank .experiment manually, I found out that it(from browser log as the screenshot above) requires a json file, and some information is required, without which I cannot run. It requires that file even for the first time running.

what nni-experiment looks like, I tried to delete the whole folder but not work image

Environment:

Configuration: everything default

Log message:

How to reproduce it?:

ducbueno commented 8 months ago

Anyone found a solution to this? I'm having the same issue

ducbueno commented 7 months ago

I think I found the solution to this. It was given as an answer to issue https://github.com/microsoft/nni/issues/5523. Apparently it is a problem with newer versions of the filelock package. To me the problem was gone when I downgraded filelock with pip install filelock==3.10.