nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

ns command not working

Open MntRushmore opened this issue 3 years ago • 28 comments

how to run ns command

MntRushmore avatar Oct 26 '22 00:10 MntRushmore

i have the same problem

fuzRodahh avatar Oct 26 '22 07:10 fuzRodahh

looks like the instructions are mixed with linux

Tobe2d avatar Oct 26 '22 10:10 Tobe2d

Here are instructions for getting to the windows terminal (where you enter the ns commands) - https://www.makeuseof.com/tag/a-beginners-guide-to-the-windows-command-line/#:~:text=Press%20Win%20%2B%20R%20to%20open,PowerShell%20or%20Windows%20Terminal%20instead.

tancik avatar Oct 26 '22 16:10 tancik

I know how to get to cmd. Should i run all commands in linux cmd

MntRushmore avatar Oct 27 '22 00:10 MntRushmore

Here are instructions for getting to the windows terminal (where you enter the ns commands) - https://www.makeuseof.com/tag/a-beginners-guide-to-the-windows-command-line/#:~:text=Press%20Win%20%2B%20R%20to%20open,PowerShell%20or%20Windows%20Terminal%20instead.

why you showing us how to get cmd??

fuzRodahh avatar Oct 27 '22 03:10 fuzRodahh

Hi, sorry I misunderstood the question. Do you mind explaining what you have tried and what errors you are receiving? I haven't used windows in over a decade so I am probably missing some of the subtleties. You should be able to run directly in windows, windows subsystem linux shouldn't be necessary. Maybe @terrancewang can chime in with how he runs training as he as been developing with windows.

tancik avatar Oct 27 '22 05:10 tancik

I can download everything, but when I am running the blender ns commands, errors come that ns is not a valid command. How am I supposed to finish the installation?

On Wed, Oct 26, 2022 at 10:41 PM Matthew Tancik @.***> wrote:

Hi, sorry I misunderstood the question. Do you mind explaining what you have tried and what errors you are receiving? I haven't used windows in over a decade so I am probably missing some of the subtleties. You should be able to run directly in windows, windows subsystem linux shouldn't be necessary. Maybe @terrancewang https://github.com/terrancewang can chime in with how he runs training as he as been developing with windows.

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1293022086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XSJ6QQLJ5R43VKWUQTWFIIXPANCNFSM6AAAAAAROPHE24 . You are receiving this because you authored the thread.Message ID: @.***>

MntRushmore avatar Oct 27 '22 23:10 MntRushmore

Have you installed with pip install nerfstudio?

tancik avatar Oct 28 '22 02:10 tancik

yes

On Thu, Oct 27, 2022 at 7:04 PM Matthew Tancik @.***> wrote:

Have you installed with pip install nerfstudio?

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1294342731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XWLUH4SQJU73W2RBPDWFMYB7ANCNFSM6AAAAAAROPHE24 . You are receiving this because you authored the thread.Message ID: @.***>

MntRushmore avatar Oct 28 '22 05:10 MntRushmore

Can you post the output to the following two commands, pip list And ns-train --help

tancik avatar Oct 28 '22 05:10 tancik

Can you post the output to the following two commands, pip list And ns-train --help

'ns-train' is not recognized as an internal or external command, operable program or batch file.

fuzRodahh avatar Oct 28 '22 06:10 fuzRodahh

What is the output to pip list?

tancik avatar Oct 28 '22 09:10 tancik

[image: image.png]

On Fri, Oct 28, 2022 at 2:27 AM Matthew Tancik @.***> wrote:

What is the output to pip list?

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1294759204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XVJH7YY2DNHKLMAOO3WFOMBJANCNFSM6AAAAAAROPHE24 . You are receiving this because you authored the thread.Message ID: @.***>

MntRushmore avatar Oct 28 '22 14:10 MntRushmore

@WolfGamer2 It doesn't seem like your image was properly linked.

tancik avatar Oct 29 '22 02:10 tancik

Please check now.

On Fri, Oct 28, 2022 at 7:38 PM Matthew Tancik @.***> wrote:

@WolfGamer2 https://github.com/WolfGamer2 It doesn't seem like your image was properly linked.

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1295696502, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XTIQBKONZ4KF5WNJODWFSE3PANCNFSM6AAAAAAROPHE24 . You are receiving this because you were mentioned.Message ID: @.***>

MntRushmore avatar Oct 29 '22 02:10 MntRushmore

I still only see [image: image.png] Can you copy and paste the text output?

tancik avatar Oct 29 '22 03:10 tancik

Here - Screenshot 2022-10-28 194105

MntRushmore avatar Oct 29 '22 05:10 MntRushmore

no ns command

MntRushmore avatar Oct 29 '22 05:10 MntRushmore

That list should include nerfstudio. Since it doesn't it means that nerfstudio was not successfully installed. Can you paste the output to pip install nerfstudio.

tancik avatar Oct 29 '22 19:10 tancik

Ok, I will do that.

On Sat, Oct 29, 2022 at 12:18 PM Matthew Tancik @.***> wrote:

That list should include nerfstudio. Since it doesn't it means that nerfstudio was not successfully installed. Can you paste the output to pip install nerfstudio.

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1295943358, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XUORCKENFADMCRPCXDWFVZ6RANCNFSM6AAAAAAROPHE24 . You are receiving this because you were mentioned.Message ID: @.***>

MntRushmore avatar Oct 30 '22 01:10 MntRushmore

That list should include nerfstudio. Since it doesn't it means that nerfstudio was not successfully installed. Can you paste the output to pip install nerfstudio.

im already have nerfstudio, but still cant do ns command

fuzRodahh avatar Oct 31 '22 03:10 fuzRodahh

@fuzRodahh Can you run python in the command prompt. Then run import nerfstudio and see if there are any errors.

tancik avatar Oct 31 '22 03:10 tancik

i can , and no error

fuzRodahh avatar Oct 31 '22 03:10 fuzRodahh

@fuzRodahh Can you run python in the command prompt. Then run import nerfstudio and see if there are any errors.

i think @Tobe2d was right, it mixed with linux tutorial

fuzRodahh avatar Oct 31 '22 03:10 fuzRodahh

Hmm, I'm at a bit of a loss. It seems like this must be an issue with your particular windows setup. Maybe try installing from from source.

pip uninstall nerfstudio
git clone https://github.com/nerfstudio-project/nerfstudio.git
cd nerfstudio
pip install --upgrade pip setuptools
pip install -e .

tancik avatar Oct 31 '22 03:10 tancik

same I can run it and no errors

On Sun, Oct 30, 2022 at 8:25 PM Matthew Tancik @.***> wrote:

@fuzRodahh https://github.com/fuzRodahh Can you run python in the command prompt. Then run import nerfstudio and see if there are any errors.

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1296489348, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XUUNGUCV5J37DQB5U3WF43ZJANCNFSM6AAAAAAROPHE24 . You are receiving this because you were mentioned.Message ID: @.***>

MntRushmore avatar Oct 31 '22 03:10 MntRushmore

Ok, well if you have the folder downloaded, you can run python scripts/train.py instead of ns-train All the other aliases are listed here https://docs.nerf.studio/en/latest/reference/cli/index.html

tancik avatar Oct 31 '22 04:10 tancik

Hello sorry that the commands aren't working for you :(

I'm working on Windows 10 and usually use Git-Bash instead of powershell, but I just ran through the Quickstart steps on powershell to try to reproduce your error, but I was unable to do so. My best guess is that it has something to do with your setup as well. Hopefully in the meantime you can play with the library by run the scripts directly.

Capture

capture2

terrancewang avatar Oct 31 '22 04:10 terrancewang

It is giving me a netifaces error

On Sun, Oct 30, 2022 at 9:22 PM Terrance Wang @.***> wrote:

Hello sorry that the commands aren't working for you :(

I'm working on Windows 10 and usually use Git-Bash instead of powershell, but I just ran through the Quickstart https://github.com/nerfstudio-project/nerfstudio steps on powershell to try to reproduce your error, but I was unable to do so. My best guess is that it has something to do with your setup as well. Hopefully in the meantime you can run the scripts directly.

[image: Capture] https://user-images.githubusercontent.com/19509183/198930557-c30e30d8-a404-46b4-86aa-d8d308a85778.PNG

— Reply to this email directly, view it on GitHub https://github.com/nerfstudio-project/nerfstudio/issues/837#issuecomment-1296522019, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAA2XWUU3RF5SDQGVCOSD3WF5CRXANCNFSM6AAAAAAROPHE24 . You are receiving this because you were mentioned.Message ID: @.***>

MntRushmore avatar Oct 31 '22 20:10 MntRushmore

@WolfGamer2 can you post the entire error

tancik avatar Oct 31 '22 20:10 tancik