Skip to content

I have a problem when I try to use 'Random hyperparameter search'  #56

@glucotrend

Description

@glucotrend

  1. I prepared a dataset and a JSON file.
    And I ran the code 'tgan experiments config.json results.json', but it didn't function.
    There was a massage 'SyntaxError: invalid syntax'
  2. So, I checked the API reference('https://sdv-dev.github.io/TGAN/api/tgan.research.experiments.html').
    And I found the code 'tgan.research.experiments.run_experiments(config_path, output_path)'
  3. However, when I ran the code.... I have a error massage. It was 'AttributeError: module 'tgan.research' has no attribute 'experiments''.
  4. I found that I have to import experiments with the code 'from tgan.research import experiments'. And I ran the code 'tgan.research.experiments.run_experiments(config_path, output_path)'
  5. However, I met another error massage 'ValueError: Passing negative integer to header is invalid. For no header, use header=None instead'. (I have no negative integer in my data. Data composed of positive integers only.)
  6. Now, I am trying to modify the code of 'run_experiments' and 'run_experiment'. But still I can not resolve this header problem.

So, please let me know how I can resolve this header problem and use 'Random hyperparameter search'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions