yang-zhang / product_category

Product cateogry prediction
18 stars 11 forks source link

Doesn't work properly #1

Open MidnightRambo opened 3 years ago

MidnightRambo commented 3 years ago

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
yang-zhang-sf commented 3 years ago

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

MidnightRambo commented 3 years ago

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

Usama3059 commented 3 years ago

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

dimka11 commented 2 years ago

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