Jumpat / SegmentAnythingin3D

Segment Anything in 3D with NeRFs (NeurIPS 2023)
Apache License 2.0
831 stars 52 forks source link

how to install #35

Closed Lizhinwafu closed 8 months ago

Lizhinwafu commented 8 months ago

According to the code given, I cannot configure it successfully. I would like to ask if anyone has successfully configured it?

Zanue commented 8 months ago

Can you provide more details? For example, in the installation process where did the error occur?

Lizhinwafu commented 8 months ago

I installed pytorch 1.10+CUDA 11.1.

When I train the second step (python run_seg_gui.py), I get the following error. image

Zanue commented 8 months ago

The error seems to be that you have not installed SAM following this.

Lizhinwafu commented 8 months ago

I install SAM. I not use this command: git clone git@github.com:facebookresearch/segment-anything.git It doesn't seem to work.

I use the following command, I am not sure if it has any effect? git clone https://github.com/facebookresearch/segment-anything.git

Zanue commented 8 months ago

In your environment, was this line successfully conducted? You can try from segment_anything import sam_model_registry to check if your SAM are installed successfully.

Lizhinwafu commented 8 months ago

Yeah, it can.

image

Zanue commented 8 months ago

Please refer to this issue. It seems to be the problem of MobileSAM.

Lizhinwafu commented 8 months ago

I remove if args.mobile_sam: , but other error arise.

image

image