Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

../../logger.py导入出现问题 #9

Open
KristinSun opened this issue Jul 4, 2023 · 5 comments
Open

../../logger.py导入出现问题 #9

KristinSun opened this issue Jul 4, 2023 · 5 comments

Comments

@KristinSun
Copy link

Traceback (most recent call last):
File "main_oc20.py", line 29, in
import oc20.trainer
File "/home/a113/FY/Code/equiformer-master/oc20/trainer/init.py", line 17, in
from .energy_trainer_v2 import EnergyTrainerV2
File "/home/a113/FY/Code/equiformer-master/oc20/trainer/energy_trainer_v2.py", line 26, in
from .base_trainer_v2 import BaseTrainerV2, interpolate_init_relaxed_pos
File "/home/a113/FY/Code/equiformer-master/oc20/trainer/base_trainer_v2.py", line 55, in
from .logger import FileLogger
File "/home/a113/FY/Code/equiformer-master/oc20/trainer/logger.py", line 1
../../logger.py
^
SyntaxError: invalid syntax
在导入的时候为什么会出现这个错误

@yilunliao
Copy link
Member

Hi @KristinSun .

I have not encountered this issue.
Can you try running on other machines/clsuters to see if that still happens?

@zhoufy20
Copy link

When we git clone the package, the logger.py and engine.py occur some errors which cannot be opened locally.

@yilunliao
Copy link
Member

@zhoufy20
Maybe clone again or try on other machines/clusters?
It would be good if you share error message.

I think others can reproduce the numbers in the paper, so there should be no issues generally.

@zhoufy20
Copy link

zhoufy20 commented Sep 28, 2024

@yilunliao ,Thanks! It is ok now, maybe the vpn problem.

I would likle to inquire about how to utilize Equiformer_v2 with my dataset, which includes numerous DFT calculations, such as CONTCAR and OUTCAR files. This dataset contains information on atom positions, adjacency matrices, average atom energies, and forces acting on each atom. Is there any entry points for dgl type dataset?

Your response and assistance in this would be greatly appreciated.

@yilunliao
Copy link
Member

Hi @zhoufy20

Can you post this question to EquiformerV2 repo instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants