Coder Social home page Coder Social logo

paed's People

Contributors

cyn7hia avatar maxwe11y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

paed's Issues

No module named `model.types_`

Hi, when I run python trainer_finetune.py I run into the following module error:

Traceback (most recent call last):
    from model.VAESampler import MetaVAE
  File "C:\PycharmProjects\peacok_playground\PAED\model\VAESampler.py", line 9, in <module>
    from model.base import BaseVAE
  File "C:\PycharmProjects\peacok_playground\PAED\model\base.py", line 5, in <module>
    from model.types_ import *
ModuleNotFoundError: No module named 'model.types_'

Is there a missing types file in the repo which consolidates the used datatypes? I also see this line in VAESampler.py.

Thanks.

No such file or directory: 'outputs/wrapper/u2t_map_all/unseen_5_seed_0/synthetic.jsonl'

When running python trainer_finetune.py I encounter this error

Traceback (most recent call last):
  File "/home/ec2-user/PAED/trainer_finetune.py", line 732, in <module>
    main(
  File "/home/ec2-user/PAED/trainer_finetune.py", line 600, in main
    training(save_dir, path_model, data_name, split, logger)
  File "/home/ec2-user/PAED/trainer_finetune.py", line 436, in training
    train_vae = VAEData(path=save_dir, train_args=train_args, name='train', data_name=data_name, split=split)
  File "/home/ec2-user/PAED/dataset.py", line 86, in __init__
    self.get_vocab(path_in)
  File "/home/ec2-user/PAED/dataset.py", line 202, in get_vocab
    dataset = self.get_data(self.path, name)
  File "/home/ec2-user/PAED/dataset.py", line 170, in get_data
    data = wr_Dataset.load(str(path_in))
  File "/home/ec2-user/PAED/wrapper.py", line 57, in load
    with open(path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'outputs/wrapper/u2t_map_all/unseen_5_seed_0/synthetic.jsonl'

Is this data supposed to be created by the script or do I need to download a file?

Thanks.

ModuleNotFoundError: No module named 'new_trainer'

Hi, when I run python trainer_finetune.py I run into the following module error:

Traceback (most recent call last):
  File "trainer_finetune.py", line 28, in <module>
    from dataset import ExtDataTr, VAEData, get_dataloader
  File "/biolab/liaowx/pyworkspace/PAED-main/dataset.py", line 18, in <module>
    from encoding import ExtractEncoder
  File "/biolab/liaowx/pyworkspace/PAED-main/encoding.py", line 11, in <module>
    from transformer_base import run_summarization
  File "/biolab/liaowx/pyworkspace/PAED-main/transformer_base/run_summarization.py", line 37, in <module>
    from new_trainer import CustomTrainer
ModuleNotFoundError: No module named 'new_trainer'

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.