Giter VIP home page Giter VIP logo

fastjtnnpy3's Introduction

Hi there, I'm Bibyutatsu AKA Bibhash

I'm a Data Scientist from India

  • Currently working on my personal project proGENTRL
  • Fascinated with GANs and Pytorch is love
  • Wanna know more click here
  • Ask me anything here

Number of visitors

Shoutout to @anuraghazra for his awesome repo github-readme-stats, do check it out.

fastjtnnpy3's People

Contributors

bibyutatsu avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

fastjtnnpy3's Issues

AttributeError: module 'theano.tensor.nlinalg' has no attribute 'LogDetPSD'

This error occurred while I was running the code,I couldn't find the solution on the Internet. I hope I successfully installed Theano(because I'm not sure):
UserWarning: size_average and reduce args will be deprecated, please use reduction='sum' instead.
warnings.warn(warning.format(ret))
Initializing network
WARNING (theano.gof.compilelock): Overriding existing lock by dead process '17108' (I am process '11780')
Traceback (most recent call last):
File "F:/Study/YJS/FastJTNNpy3-master/fast_bo/run_bo.py", line 248, in
random_seed)
File "F:/Study/YJS/FastJTNNpy3-master/fast_bo/run_bo.py", line 112, in main_bo
learning_rate=0.001)
File "F:\Study\YJS\FastJTNNpy3-master\fast_jtnn\sparse_gp.py", line 209, in train_via_ADAM
e = self.getEnergy()
File "F:\Study\YJS\FastJTNNpy3-master\fast_jtnn\sparse_gp.py", line 99, in getEnergy
return self.sparse_gp.getContributionToEnergy()[ 0, 0 ]
File "F:\Study\YJS\FastJTNNpy3-master\fast_jtnn\sparse_gp_theano_internal.py", line 191, in getContributionToEnergy
logZpost = self.getLogNormalizerPosterior()
File "F:\Study\YJS\FastJTNNpy3-master\fast_jtnn\sparse_gp_theano_internal.py", line 180, in getLogNormalizerPosterior
return casting(0.5 * self.n_inducing_points * np.log(2 * np.pi)) + casting(0.5) * T.nlinalg.LogDetPSD()(self.covPosterior) +
AttributeError: module 'theano.tensor.nlinalg' has no attribute 'LogDetPSD'

RecursionError('maximum recursion depth exceeded while pickling an object')'

when I run preprocess.py on custom data, I meet a problem.

Reason: 'RecursionError('maximum recursion depth exceeded while pickling an object')'
  File "/y/home/src/jtnnvae/fast_molvae/preprocess.py", line 56, in convert
    all_data = pool.map(tensorize, data)
  File "/y/home/src/jtnnvae/fast_molvae/preprocess.py", line 91, in <module>
    convert(opts.train_path, pool, num_splits, opts.output_path)

Any advice? Many thanks.

issue raising at this point

from sample import load_model
model = load_model('/content/vocab.txt','/content/model.epoch-19')

where it is saying JTNNVAE is not defined even it is defined in sample.py
Let me know the solution for that

GPU Problem

I am trying to load the model but every time an error comes tensors are not on the same device CPU and GPU.

Error while running python vae_train.py --train moses-processed --vocab ../data/vocab.txt --save_dir vae_model/

Namespace(anneal_iter=40000, anneal_rate=0.9, batch_size=32, beta=0.0, clip_norm=50.0, depthG=3, depthT=20, epoch=20, hidden_size=450, kl_anneal_iter=2000, latent_size=56, load_epoch=0, lr=0.001, max_beta=1.0, print_iter=50, save_dir='vae_model/', save_iter=5000, step_beta=0.002, train='moses-processed', vocab='../data/vocab.txt', warmup=40000)
Traceback (most recent call last):
File "vae_train.py", line 166, in
args.save_iter)
File "vae_train.py", line 47, in main__vae__train
model = JTNNVAE(vocab, int(hidden_size), int(latent_size), int(depthT), int(depthG)).cuda()
TypeError: init() missing 1 required positional argument: 'depthG'

Can anyone help with this?

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.