product_category icon indicating copy to clipboard operation
product_category copied to clipboard

Doesn't work properly

Open MidnightRambo opened this issue 3 years ago • 4 comments

I don't know what exactly happened there, but it doesn't work as expected :D Maybe it's just formatting. Or am i doing something wrong?

Input: %run C:\Users\MidnightRambo\anaconda3\Lib\site-packages\product_category\predict.py -t "Lykmera Famous TikTok Leggings, High Waist Yoga Pants for Women, Booty Bubble Butt Lifting Workout Running Tights"

Output:

      <tr>: 0.997
        <td id="LC125" class="blob-code blob-code-inner js-file-line">Audio &amp;amp; Video Accessories</td>: 0.994
          <span data-content="Code">Code</span>: 0.980
      Jump to: 0.961
      <tr>: 0.905

MidnightRambo avatar Jun 25 '21 17:06 MidnightRambo

The scores look right but the formatting/printing seems to break down in Windows. You can directly inspect the predicted values here: https://github.com/yang-zhang/product_category/blob/main/product_category/predict.py#L54-L55

yang-zhang-sf avatar Jun 25 '21 18:06 yang-zhang-sf

Thx for the fast reply. I know that the scores were easy to spot/display but i think something isn't right with the i2cat part. It only displays

for all given top_icats values. Do you have a workaround for this in windows? Otherwise i'd try it myself :P

MidnightRambo avatar Jun 25 '21 21:06 MidnightRambo

undefined symbol: _ZNK3c104Type14isSubtypeOfExtERKSt10shared_ptrIS0_EPSo Getting this error. How can I solve this?

Usama3059 avatar Sep 05 '21 19:09 Usama3059

@Usama3059 I have the same error, did you able to fix it?

dimka11 avatar Jan 28 '22 07:01 dimka11