Open shshwdr opened 4 years ago
Hi @shshwdr ,
Yes I didn't include this functionality, I probably should have.
Currently, the ground-truth seg files are used to calculate the test accuracy. So, I think the easiest hack to just get the code to work is to create some dummy seg files which are all zeros or something -- (just ignore the printed accuracy), and everything should run fine. Please check the segmentation wiki for more info on these files.
-Rana
I added two all zerod files in seg and sseg, then I got this error when I run test. my model has 30144 edges.:
Running Test
loaded mean / std from cache
loading the model from ./checkpoints\human_seg\latest_net.pth
Traceback (most recent call last):
File "test.py", line 25, in
I tried to find a object with 2259 edges and set the ninput_edges to 2259, pool_res to 1800 1350 600 and get the result. But the result is quite not as I expected since it segment in weird position. Is the settings I put in correct? should I add both seg and sseg file? is there anything I can do to improve it? or it's just I need to train more human models? thanks.
I tried to find a object with 2259 edges and set the ninput_edges to 2259, pool_res to 1800 1350 600 and get the result. But the result is quite not as I expected since it segment in weird position. Is the settings I put in correct? should I add both seg and sseg file? is there anything I can do to improve it? or it's just I need to train more human models? thanks.
Hi @shshwdr, I'm doing the similar thing. However, I'm not able to segment my objs. The results is always the human segmentation even if I change the obj file(without touching seg files). Do you mind teaching me how to do your own segmentation?
I tried to find a object with 2259 edges and set the ninput_edges to 2259, pool_res to 1800 1350 600 and get the result. But the result is quite not as I expected since it segment in weird position. Is the settings I put in correct? should I add both seg and sseg file? is there anything I can do to improve it? or it's just I need to train more human models? thanks.
If you are using my pre-trained network, then you should not change ninput_edges
parameter, then it will not work. Please use the default for segmentation (for humans it is --ninput_edges 2280
) and re-run. The test requires both seg and sseg (unless you want to modify the accuracy computation). I think you can just comment out this line and then maybe you won't need the seg / sseg files anymore
Hi @shshwdr
were you able to perform a test without field truth segmentation files?
Hi I think I'm confused about how to test my own test case. run those commands(human segmentation related) works fine for me, but if I want to segment some other obj file, what should I do? I tried to put my obj file in test but that doesn't seem to work, it ask me to have seg files. I don't need to test the result of the segmentation, just want to segment with trained data. Thanks a lot and really appreciate your code.