FruitNeRF icon indicating copy to clipboard operation
FruitNeRF copied to clipboard

I don't know why I encountered an error when running clusteringrun_clustering.py

Open CBDXS1 opened this issue 1 year ago • 1 comments

image

CBDXS1 avatar Sep 19 '24 12:09 CBDXS1

hello,Whether the problem is solved?

cwh01 avatar Sep 23 '24 07:09 cwh01

hello,Whether the problem is solved?

Cola-1 avatar Oct 19 '24 23:10 Cola-1

hello, l have the same problem. how can i solve it ??

park-dea avatar Nov 08 '24 04:11 park-dea

@CBDXS1 Try typing this command: PYTHONPATH=$(pwd) python clustering/run_clustering.py

Set the PYTHONPATH environment variable. Add the PYTHONPATH environment variable when you run the script, including the current working directory so that Python can recognize the clustering folder. And it works.

Cola-1 avatar Nov 11 '24 02:11 Cola-1

@CBDXS1 尝试输入此命令: PYTHONPATH=$(pwd) python clustering/run_clustering.py

设置 PYTHONPATH 环境变量。运行脚本时添加 PYTHONPATH 环境变量,包括当前工作目录,以便 Python 可以识别集群文件夹。 这样就可以了。 十分感谢您的帮助

CBDXS1 avatar Nov 16 '24 13:11 CBDXS1

As already stated you have to run the clustering script in the root folder of the project; You can start the script by python clustering/run_clustering.py. It will navigate into the correct folders

meyerls avatar Jan 07 '25 14:01 meyerls