GithubHelp home page GithubHelp logo

A question about the cdvae about cdvae HOT 7 OPEN

szy120320 avatar szy120320 commented on August 23, 2024
A question about the cdvae

from cdvae.

Comments (7)

szy120320 avatar szy120320 commented on August 23, 2024

Excuse me, I'm a first-year graduate student. My programming ability is limited. So I have a question.

  1. I want to know what the is. I tried many paths, but none of them worked. this is the hint:MODEL_PATH
hydra.errors.MissingConfigException: Primary config directory not found.
Check that the config directory '\Users\12032\Desktop\cdvae-main\cdvae\run.py' exists and readable

I have solved the problem. But I have another problem.

from cdvae.

szy120320 avatar szy120320 commented on August 23, 2024

this is error information:
AttributeError: 'CrystGNN_Supervise' object has no attribute 'langevin_dynamics'

I find that the attribute 'langevin_dynamics' exists in the CDVAE class, not CrysGNN_Supervise. So How do I solve this problem?

from cdvae.

szy120320 avatar szy120320 commented on August 23, 2024

@txie-93

from cdvae.

szy120320 avatar szy120320 commented on August 23, 2024

when I execute the recon command, I ran into a problem:

100%|██████████| 2030/2030 [02:43<00:00, 12.44it/s]
Evaluate model on the reconstruction task.
Traceback (most recent call last):
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 281, in <module>
    main(args)
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 194, in main
    all_frac_coords_stack, all_atom_types_stack, input_data_batch) = reconstructon(
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 38, in reconstructon
    _, _, z = model.encode(batch)
  File "E:\anaconda3\envs\cdvae\lib\site-packages\torch\nn\modules\module.py", line 947, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'CrystGNN_Supervise' object has no attribute 'encode'
batch 0 in 8

from cdvae.

utf avatar utf commented on August 23, 2024

Hi @szy120320, did you figure out this problem?

from cdvae.

szy120320 avatar szy120320 commented on August 23, 2024

Hi @szy120320, did you figure out this problem?

I tried, but it didn't work

from cdvae.

JianZhou711 avatar JianZhou711 commented on August 23, 2024

I am probably late and it's already solved, but I worked through it by using the Hydra output from the training instead of prop_models as my model_path which was where I got that error.

from cdvae.

Related Issues (20)

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.