Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
After a lot of effort and search, I was finally able to install coco API. I am trying to run a video captioning code. A neural network for video captioning. These are the libraries which are not executing because anaconda coco api doesn't work anymore. But i installed it anyway.
from pycocoevalcap.tokenizer.ptbtokenizer import PTBTokenizer
from pycocoevalcap.bleu.bleu import Bleu
from pycocoevalcap.meteor.meteor import Meteor
from pycocoevalcap.rouge.rouge import Rouge
from pycocoevalcap.cider.cider import Cider


The only line that is executing is this one.
from pycocotools.coco import COCO

How do I run the rest of the libraries?

Thanks in advance.

What I have tried:

I tried to install the coco api. which i finally did it. but now i don't know how to use it.
Posted
Updated 9-Jun-19 23:04pm
Comments
[no name] 9-Jun-19 19:14pm    
The definition of ...

These are the libraries which are not executing because anaconda coco api doesn't work anymore. But i installed it anyway.

1 solution

Quote:
I tried to install the coco api. which i finally did it. but now i don't know how to use it.
Start by studying the documentation. There is neither the time nor the space here for anyone to teach you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900