Results 117 comments of Eyal Gruss

i am getting encoding error in windows 10 `Traceback (most recent call last): File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File...

the above is from bash. from cmd i am seeing: `Traceback (most recent call last): File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code,...

i guess this should not work in the first place. see also: https://stackoverflow.com/questions/73190808/index-of-an-numpy-array-in-a-list

well, I am actually abusing plantcv morphology package for a custom non-plant thing for which it turned out to work great (and i can share details later if you wish)....

thanks! if you want to do it in place you could find the indices to be removed and then loop in reverse order from the end. or you could just...

i found fill_segments() which seems to do what i want be, it uses a builtin thickness=5, which would give me larger masks

Thanks! small comment: ``` if type(segment_list[0]) is not int: ``` does not gracefully handle the case of an empty segment_list

thanks! i am not an expert on music theory but afaiu a/c# means inversion not doubling, when the new root is also part of the original chord. also in some...

by the way, the issue with set() is that it doesn't preserve order of course. this would be a separate issue, but one can think of different logic depending on...

i was running this with the defaults (reg=1e-5, weight=1). anyways to reproduce: https://colab.research.google.com/drive/1MXfC3vlU6u2muNG0WaB1p6HeB-5q2ReL sometimes it works, sometimes crashs, sometimes divide by zero. try a few times. screenshot: ![image](https://user-images.githubusercontent.com/4436747/120938024-740c3900-c719-11eb-9a49-d020ed912a95.png)