Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    1575018690
    @1575018690
    nnierror2.png
    system:window10
    pytorch
    Why is the default metric not displayed? However, the value of metric exists
    1575018690
    @1575018690
    nnierror3.png
    nnierror4.png
    When I change gpuNum=1 to 0, the default matric can be displayed normally. What is the reason?
    kvartet
    @kvartet
    just to record, above issues have been tracked in NNI Github repo: microsoft/nni#3610 & microsoft/nni#3609
    Dannypung
    @Dannypung
    parser.add_argument('--tolerance',type=int,default=100,help='tolerance for earlystopping')
    If my parameters are set this way, can I search for parameters directly as shown in the example
    Will Sackfield
    @8W9aG
    does NNI have a solution for DL that allows me to feed in the inputs, outputs and evaluate the model while leaving me out of any decisions regarding the neural architecture of the model? Most of the examples I have seen force me to make some layer choices
    Shadow Walker
    @shadowwalker2718
    I am trying to run NNI in remote servers but got this error:
    Error: Cannot find module '/Users/pmg/git.repo/nni/ts/nni_manager/dist/package.json'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
        at Function.Module._load (internal/modules/cjs/loader.js:562:25)
        at Module.require (internal/modules/cjs/loader.js:692:17)
        at require (internal/modules/cjs/helpers.js:25:18)
        at Promise.resolve.then (/Users/pmg/git.repo/nni/ts/nni_manager/dist/common/utils.js:276:34)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    Anybody knows what I missed?
    kvartet
    @kvartet

    parser.add_argument('--tolerance',type=int,default=100,help='tolerance for earlystopping')
    If my parameters are set this way, can I search for parameters directly as shown in the example

    You can overwrite the args with the parameters got from nni.get_next_parameter(). If you still have questions, we can discuss in the https://github.com/microsoft/nni/discussions/3747

    kvartet
    @kvartet

    does NNI have a solution for DL that allows me to feed in the inputs, outputs and evaluate the model while leaving me out of any decisions regarding the neural architecture of the model? Most of the examples I have seen force me to make some layer choices

    hello @8W9aG, I open an issue microsoft/nni#3830 in the Github repo, let's discuss it there.

    I am trying to run NNI in remote servers but got this error:

    Error: Cannot find module '/Users/pmg/git.repo/nni/ts/nni_manager/dist/package.json'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
        at Function.Module._load (internal/modules/cjs/loader.js:562:25)
        at Module.require (internal/modules/cjs/loader.js:692:17)
        at require (internal/modules/cjs/helpers.js:25:18)
        at Promise.resolve.then (/Users/pmg/git.repo/nni/ts/nni_manager/dist/common/utils.js:276:34)
        at process._tickCallback (internal/process/next_tick.js:68:7)

    copy ./nni/ts/nni_manager/package.json to ./nni/ts/nni_manager/dist/package.json may solve your issue.
    And recommend upgrade nni repo to the latest version, this is a bug in the old version.

    kalavinka
    @kalavinka
    Hello,
    How can I force nni to start from a given point (set of parameters) in the search space?
    kvartet
    @kvartet

    Hello,
    How can I force nni to start from a given point (set of parameters) in the search space?

    hello @kalavinka, I open an issue microsoft/nni#3834 for you, let's discuss it there!

    ztzthu
    @ztzthu
    image.png
    Hello, I was trying to run nnictl experiment, but the webUI gave the following feedback: "Dispatcher stream error, tuner may have crashed." and failed immediately.
    I tried to look at the dispatcher log, but it always shows loading. what could be the problem ?
    kvartet
    @kvartet
    hello @ztzthu, you can open your nni-experiments folder in /home/userName/nni-experiments/experimentId to see the nnimanger.log and dispatcher.log. If this error message could not help you find the failed reason, you can open an issue in NNI Github Community with your log and config, etc.
    yuezhuang1387
    @yuezhuang1387
    image.png
    When I use NNI GUI, this problem appears. How can I solve it? I am very confused
    Patrick Lenihan
    @JorjiCostava_gitlab
    ERROR: Config V2 validation failed: ValueError('_AlgorithmConfig: Unrecognized fields builtinassessorname')
    ERROR: 'NoneType' object has no attribute 'get'
    Why do I get this error?
    Screenshot 2021-08-10 at 20.23.12.png
    Joshua Steier
    @Rock910

    TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
    if x.shape[2] % self.stride == 0:
    /utils.py:41: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
    y.shape[0] <= x.shape[0] and y.shape[1] <= x.shape[1]
    utils.py:25: TracerWarning: Converting a tensor to a Python index might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
    x = x[:, :, crop_t:-crop_b, crop_l:-crop_r]

    WARNING (nni.compression.pytorch.utils.mask_conflict/MainThread) no multi-dimension masks found.
    [2021-08-15 06:34:55] INFO (nni.compression.pytorch.utils.mask_conflict/MainThread) detected conv prune dim: 0

    I get the above error when I use model speedup on my model, it hangs here and crashes.
    Any ideas?
    Thanks

    AnkitRai-22
    @AnkitRai-22
    Hello everyone!! I am willing to contribute to nni by working on "Migrating FBNet from NAS to Retiarii". It would be great if somebody could help me understand the current transfer process.
    wubo2180
    @wubo2180
    windows
    Junshan
    @EroData
    I met this problem, dose anyone know the solution?
    [2021-10-26 12:12:29] WARNING (GPUScheduler) gpu_metrics file does not exist!
    Junshan
    @EroData
    The wechat code is expired. Can anyone share the new?
    sdustwyx
    @sdustwyx
    Does NNI support multiple sets of super parameters to be input together
    Sergei Chicherin
    @chroneus
    Hi everyone! I try to run basic mnist examples on gpus, I put trialConcurrency: 8 and useActiveGpu: true, however, the gpu is waiting for one experiment on mnist to be done. This does not utilize gpu at all, how can I put more trials on one gpu?
    Anlu Xing
    @annalucia1
    When trying to run example folder tabular_data_classification_in_AML.ipynb , i got an error No columns to parse from file in df = pd.read_csv(os.path.join(root, filename)) when reading in training data
    erelon
    @erelon
    Hi all, I'm trying to run with the newest nni version (2.6) this search space:
    {
    "target_update": {"_type": "quniform", "_value": [200, 800, 100]}, "learn_freq": {"_type": "quniform", "_value": [2, 8, 1]}, "batch_size": {"_type": "choice", "_value": [64, 128, 256]}, "gamma": {"_type": "uniform", "_value": [0.97, 0.99]}, "lr": {"_type": "uniform", "_value": [1e-2, 1e-4]}, "memory_size": {"_type": "choice", "_value": [1e6, 1e7]}, "decay_rate": {"_type": "uniform", "_value": [0.01, 0.08]}, "max_steps": {"_type": "choice", "_value": [1000]}
    }
    But I get this error after 20 successful runs:
    [2022-02-06 22:35:15] ERROR (nni.runtime.msg_dispatcher_base/Thread-1) scale < 0
    Traceback (most recent call last):
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/runtime/msg_dispatcher_base.py", line 88, in command_queue_worker
    self.process_command(command, data)
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/runtime/msg_dispatcher_base.py", line 147, in process_command
    command_handlerscommand
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/runtime/msg_dispatcher.py", line 102, in handle_request_trial_jobs
    params_list = self.tuner.generate_multiple_parameters(ids, st_callback=self.send_trial_callback)
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/tuner.py", line 132, in generate_multiple_parameters
    res = self.generate_parameters(parameter_id, **kwargs)
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/algorithms/hpo/tpe_tuner.py", line 123, in generate_parameters
    params = suggest(self.args, self.rng, self.space, history)
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/algorithms/hpo/tpe_tuner.py", line 155, in suggest
    params[key] = suggest_parameter(args, rng, spec, history[key])
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/algorithms/hpo/tpe_tuner.py", line 176, in suggest_parameter
    return suggest_normal(args, rng, parameter_history, mu, sigma, clip)
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/algorithms/hpo/tpe_tuner.py", line 266, in suggest_normal
    samples = gmm1(args, rng, weights, mus, sigmas, clip) # sample N EIs using the weights
    File "/home/dsi/reutlevi/anaconda3/envs/Reut_and_Oshrit_Reinforcment/lib/python3.6/site-packages/nni/algorithms/hpo/tpe_tuner.py", line 358, in gmm1
    samples = rng.normal(mus[active], sigmas[active])
    File "_generator.pyx", line 1035, in numpy.random._generator.Generator.normal
    File "_common.pyx", line 541, in numpy.random._common.cont
    File "_common.pyx", line 446, in numpy.random._common.cont_broadcast_2
    File "_common.pyx", line 329, in numpy.random._common.check_array_constraint
    ValueError: scale < 0
    What can be the issue?
    Yufan He
    @heyufan1995
    Is there a way to change the webUI from using HTTP to HTTPS?
    yasmineLalabouali
    @yasmineLalabouali
    Hi, does anyone have an idea why I keep getting status fail for every trial ?
    Jiabei Zhao
    @Sunny-Island
    Anyone can review this PR?microsoft/nni#4977
    Jiabei Zhao
    @Sunny-Island
    Who can invite me into WeChat group?
    My wechat number:island18800151315
    Josh Bradley
    @jgbradley1
    I have nni installed in a docker image along with a model and copies of the docker image have been distributed to multiple VMs. I'm having trouble starting a remote experiment from one docker image and executing trials across VMs. Any tips on how to setup the nni config so that it executes a "docker run ..." command on remote VMs?
    sumit20136
    @sumit20136
    image.png
    I did installed my nni using pip and as soon as I run my nni experiment using "nnictl create --config nni/examples/trials/mnist-tfv1/config.yml", the WebUI don't show any variables or space allocated, indicating the experiment didn't run successfully, aslo while running it shows warning like "WARNING: Timeout, retry..."
    mahdihey
    @mahdihey
    image.png
    I am running ProxylessNAS example in NNI. The accuracy and loss hasn't changed after 112 epochs. I'm wondering if anyone had similar issue.
    yanliang
    @yanliang3612
    image.png
    I use NNI on the linu remote server and configure the relevant config.yml file according to the official github documentation, but the following error still occurs. I want to know if there is any way to solve this problem, thank you.
    hi´╝îeveryone
    Peter Cotton
    @microprediction
    Newbie question: how can I make NNI persist a little longer with each network it tries?