Automatic-Baseball-Commentary-Generation-Using-DeepLearning
Automatic-Baseball-Commentary-Generation-Using-DeepLearning copied to clipboard
Error: 'NoneType' object is not callable
Hi @byeongjokim, I was trying to contribute in this project but I am getting this error:
self.onto == get_ontology("baseball.owl#")
Traceback (most recent call last):
File "kbo.py", line 66, in <module>
app = KBO(isSimulation=False, isAPI=True)
File "kbo.py", line 16, in __init__
self.web = Web(resource=self.resource)
File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/web.py", line 26, in __init__
self._set_game_info(data["gameInfo"])
File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/web.py", line 45, in _set_game_info
create_game(self.onto, self.GameInfo)
File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/set_onto.py", line 3, in create_game
game = onto.Game(GameInfo["DateHomeAway"])
TypeError: 'NoneType' object is not callable
Can you please help me out in this?