Giter Site home page Giter Site logo

ontozsl's People

Contributors

genggengcss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ontozsl's Issues

pretrain_struc can't be run

Hello,

I am trying to run your model, but it is not working. When I try to follow your instructions, I get the following error:

>>> python code/OntoEncoder/pretrain_struc.py --dataset NELL --hidden_dim 300
Traceback (most recent call last):
  File "/.../code/OntoEncoder/pretrain_struc.py", line 18, in <module>
    from code import KGEModel
ImportError: cannot import name 'KGEModel' from 'code' (/.../lib/python3.9/code.py)

Running it from any of the folders in the repo, does not work. How do I fix this? :)

Thank you!

Best,
Filip

SemSize args value

Hello,
I'm trying to setup and run the OntoZSL for the AwA2 dataset. While in the training process I would like to know the default args value for 'SemSize' argument. Since there is no default value mentioned in the args.py file the code throws an error in the training process while initializing the generator.

Thank you.

Load relation embeddings of multimodal embeddings

for i, rel in id2rel.items():
# load embeddings
if rel in entity_embeddings_img and rel in entity_embeddings_txt:
rel_embed_txt = entity_embeddings_txt[rel]
rel_embed_img = entity_embeddings_img[rel]
****
here in entity_embeddings_img[rel] we didn't find any embedding because in entity_embeddings_img we have embeddings of entities only. How do you get entity_embeddings_img[rel] here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.