Closed bl6g6 closed 2 years ago
@bl6g6 thanks for reporting this issue. do you encounter the same error when using local mode with v2.6? or the error only occurs in remote mode?
For your second question about assessor, epoch_num means the total epoch number, the curve-fitting assessor will predict trial's performance on this epoch. It is not supposed to set a number larger than total epoch number (though this assessor still works, it will predict the performance on your specified epoch number by assuming the trial will run such many of epochs).
I was using local mode with V2.5 nni on my local machine(ubuntu18). The error was
'Module' object has no attribute 'last_line'
I cannot updated to v2.6 since when I switched to v2.6 branch and ran
python3 -m pip install --upgrade pip setuptools
python3 setup.py develop
it shows
running develop
error: [Errno 17] File exists: 'nni_node'
And thanks for your answer about assessor!
To resolve the error File exists: 'nni_node'
, you should first uninstall the old version, then run python3 setup.py clean --all
, then install the new version again. it should work.
I updated to v2.6 and found that it was the problem of loading mnist data(my TensorFlow version was so high that cannot locate mnist dataset by default code). Both local and remote could use annotation perfectly. Thank you!
I am using docker on remote mode. I used
to install environment. When I am in v2.6 branch, I used
nnictl --version
, it shows999.dev0
. Then I ran mnist-annotation example, the following error message displayed:WhenI switched to v2.5 and ran mnist-annotation, the following error displayed:
Is this a bug or is the way I installed it not correct? Did anyone meet the same issue?
Moreover, I have a tiny question about Assessor-curve-fitting. The epoch_num parameter is the epoch number of total training, correct? Since larger epoch_num than training epoch still works.