alexalemi / segmentation

Code and data for segmentation experiments.
MIT License
21 stars 10 forks source link

sys.argv #3

Open kkarthikvk opened 3 years ago

kkarthikvk commented 3 years ago

https://github.com/alexalemi/segmentation/blob/a72cac9a939f6b8bdd07376a6193230f25e35da6/code/segmentart.py#L11

From the specified line while compiling i got the error saying IndexError: list index out of range . I printed the sys.argv it has only [segmentart.py] . Can i know what is K and infile is ?

Thanks , Karthik

kkarthikvk commented 3 years ago

Hello again ,

I came to know that K is number of splits or segments . In given K , it is splitting perfectly . What is the best way to determine optimal number of K ? Any idea will help me with my project .

Thanks in Advance , Karthik