Comments (12)
- Please make sure that port 51188 is not occupied by other processes.
- Then please run 'nnictl log stderr' to see the error message.
- You can also use 'ps aux | grep node' to check is there any running rest server process.
from nni.
1.Check port 51188 is not occupied:
- Run 'nnictl log stderr' ,It shows,as follws:
(node:18566) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 18566 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:31077) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 31077 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:40883) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 40883 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:870) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 870 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:31529) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 31529 Terminated /home/user/.local/nni/node/bin/node main.js $@
3.Run 'ps aux | grep node',It shows,as follws:
user 35104 0.0 0.0 14536 1020 pts/26 S+ 09:52 0:00 grep --color=auto node
from nni.
Those lines are only warning (we will fix this warning later).
Could you run:
nnictl stop
then, nnictl create --config ~/nni/examples/trials/mnist-annotation/config.yml
.
If there is still error, please post the content of the following three files:
~/nni/nnictl/log/stderr
~/nni/nnictl/log/stdout
~/nni/experiments//log/nnimanager.log
Thanks.
from nni.
@QuanluZhang Hi,QuanluZhang.Thanks your reply
- Run 'nnictl stop',it shows,as follows:
Info: Stoping experiment...
Info: Experiment is not running...
Then run 'nnictl create --config ~/nni/examples/trials/mnist-annotation/config.yml.',it shows same error as before
- Post the content of the following three files
1.The content of ~/nni/nnictl/log/stderr ,as follows:
(node:18566) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 18566 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:31077) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 31077 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:40883) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 40883 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:870) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 870 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:31529) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 31529 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:3118) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 3118 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:26800) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 26800 Terminated /home/user/.local/nni/node/bin/node main.js $@
(node:12632) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/home/user/.local/bin/nnimanager: line 3: 12632 Terminated /home/user/.local/nni/node/bin/node main.js $@
2.The content of ~/nni/nnictl/log/stdout is empty!
3.The content of ~/nni/experiments//log/nnimanager.log ,as follows:
[2018-09-17T03:33:23.587Z] INFO Rest server listening on: http://0.0.0.0:51188
from nni.
Hi, @wenku1992abc, thanks for reporting the issue and providing the logs.
Could you please help confirm if the log you pasted from your ~/nni/experiments//log/nnimanager.log is a complete log?
A normal log contents in ~/nni/experiments//log/nnimanager.log is something like:
[2018-09-17T03:36:53.950Z] INFO Rest server listening on: http://0.0.0.0:51188
[2018-09-17T03:36:56.773Z] INFO GET: /check-status: body:
{}
[2018-09-17T03:37:03.802Z] INFO GET: /trial-jobs: body:
{}
....................................................
....................................................
if the log from ~/nni/experiments//log/nnimanager.log is a complete one, could you also check if port 51188 is opened on your machine's firewall?
If still have issue, feel free to let us know. Thanks.
from nni.
@yds05 My pleasure!
1.Yes, I checked it again! I am sure log from ~/nni/experiments//log/nnimanager.log is a complete one!
2.According to command 'rpm -qa|grep iptables' in linux, I checked if my machine installed firewall or not.The results is that it has no firewall
from nni.
@QuanluZhang @yds05 May be my problem is the same as this issue,#85 (comment)
my python is also installed with anaconda
from nni.
@wenku1992abc Yes, probably it's related to that issue caused by python installed via anaconda. We will fully test nni on anaconda python soon, and let you know if we have any conclusion/solution. Thanks!
from nni.
@wenku1992abc - had you verified whether the resolution works for you? the support had been released in Sept 28.
from nni.
I'm closing the item as the fix had been released, @wenku1992abc please feel free to reopen the issue if it still not work for you, thanks a lot.
from nni.
@scarlett2018 Hi,I use new nni source code to install nnictl,after installed
when i use such command:
nnictl create --config ./examples/trials/mnist/config.yml --port 8085
the output is :
INFO: Starting restful server...
ERROR: Restful server start failed!
INFO: Stdout:
Experiment start time 2018-11-30 15:23:19
INFO: Stderr:
Experiment start time 2018-11-30 15:23:19
from nni.
~/nni/experiments//log/nnimanager.log :
[2018-11-30T07:10:12.983Z] INFO Rest server listening on: http://0.0.0.0:8085
[2018-11-30T07:10:12.970Z] INFO RestServer start
[2018-11-30T07:10:12.978Z] INFO RestServer base port is 8085
[2018-11-30T07:10:27.643Z] INFO Experiment done, cleaning up...
from nni.
Related Issues (20)
- Mismatched hyperparameters between web server display and their actual values HOT 1
- Dispatcher terminiated reporting cuda unavailable issue HOT 1
- mint
- Mint
- mint
- Cannot install nni on Jetson Nano Developer Kit
- How nni performs qat quantization on leaky relu
- require a missing '.experiment' even for the first time running
- Cannot get the correct value,Can you tell me how to get the correct value? thank you very much
- Bug: batch_size parameter in ModelSpeedup does not alter the model when set to 1 HOT 2
- ModelSpeedup error: assert len(set(num_channels_list)) == 1, possible incorrect layers in dependency set HOT 1
- ModelSpeedup() error
- ERROR (nni.runtime.msg_dispatcher_base/Thread-1)
- dispather comand:globals.args.pythonInterpreter, '-m', 'nni', '--exp_params', 占用内存太多 HOT 1
- Comparison exception: The values for attribute 'shape' do not match: torch.Size([]) != torch.Size([1, 8400]).
- Pruning Yolov8m model HOT 1
- # get parameters from tuner RECEIVED_PARAMS = nni.get_next_parameter()
- Not training enough times HOT 1
- 有人用NNI剪枝过wenet吗?
- The system crashes when running the “Hello NAS” example code with GPU HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nni.