Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

add augmentor support #2

Closed
wants to merge 12 commits into from

Conversation

fumihwh
Copy link
Contributor

@fumihwh fumihwh commented Oct 19, 2018

No description provided.

@leapmindadmin
Copy link
Contributor

Can one of the admins verify this patch?

@hadusam
Copy link
Contributor

hadusam commented Oct 19, 2018

run test

@hadusam
Copy link
Contributor

hadusam commented Oct 19, 2018

run test

@hadusam
Copy link
Contributor

hadusam commented Oct 19, 2018

run dlk test

@hadusam
Copy link
Contributor

hadusam commented Oct 23, 2018

run test

1 similar comment
@hadusam
Copy link
Contributor

hadusam commented Oct 23, 2018

run test

@lm-jira
Copy link
Contributor

lm-jira commented Oct 24, 2018

Library for FPGA can be generated from this code without any problem.
The library can also be implemented without problem

@hadusam
Copy link
Contributor

hadusam commented Oct 24, 2018

run test

@hadusam
Copy link
Contributor

hadusam commented Oct 24, 2018

ok to test

@hadusam hadusam requested a review from ruimashita October 24, 2018 13:11
@hadusam
Copy link
Contributor

hadusam commented Oct 25, 2018

@lm-jira Thank you for your checking!
@ruimashita Please review this PR. 👍


import whaaaaat
from jinja2 import Environment, FileSystemLoader

sys.path.insert(0, "lmnet")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May not need this line. I will fix it.

blueoil_test.sh Outdated
TRAINING_DATASET_PATH=$6
VALIDATION_DATASET_PATH=$7
ENABLE_DATA_AUGMENTATION=$6
CHOOSE_TOP_TWO_AUG=$7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't use this var CHOOSE_TOP_TWO_AU. need to delete this line.

@ruimashita
Copy link
Contributor

The HTML format of augmentation page on document site is not readbility especially params section.
screen shot 2018-10-25 at 20 08 30

Should be like below:
screen shot 2018-10-25 at 20 23 14

@ruimashita
Copy link
Contributor

@fumihwh oh❗️ I thought of doing to edit, but you did it. Thanks👍👍👍

@ruimashita ruimashita self-assigned this Oct 31, 2018
@ruimashita ruimashita added the enhancement New feature or request label Oct 31, 2018
@ruimashita
Copy link
Contributor

data_augmentor page is empty content
https://deploy-preview-2--blueoil.netlify.com/reference/data_augmentor.html

@fumihwh
Copy link
Contributor Author

fumihwh commented Nov 1, 2018

No idea about that. It works good locally.

@ruimashita
Copy link
Contributor

@fumihwh OK. I will do the document things 👍

@ruimashita
Copy link
Contributor

@lm-jira
When I select RandomErasingForDetection and ./blueoil.sh train the error comes.

yaml.scanner.ScannerError: mapping values are not allowed here
  in "/home/blueoil/config/aa.yml", line 34, column 29
ERROR: Training exited with a non-zero status
(.venv) #( 11/02/18@ 5:12PM )( wakisaka@leapmind-se

That's way the generated yaml has broken format.

# supported task types are 'classification', 'object_detection' and 'semantic_segmentation'.
task_type: classification

network_name: LmnetV1Quantize

dataset:
  format: Caltech101
  train_path:
  test_path:

trainer:
  batch_size: 10
  epochs: 100

common:
  image_size:
    - 128  # height
    - 128  # width

  # set pretrain model name. currently, this feature is not supported, always ignored.
  pretrain_model: false

  # enable dataset prefetch, set false if weired problem happens
  dataset_prefetch: true

  data_augmentation:
    - RandomErasingForDetection:
      - probability: 0.5- sl: 0.02- sh: 0.2- r1: 0.3- content_type: mean- mean: [125, 122, 114]- i_a: True- o_a: True

What kind of manually test, did you do ??

@lm-jira
Copy link
Contributor

lm-jira commented Nov 2, 2018

I trained the model without editing anything in the config file.

@ruimashita ruimashita mentioned this pull request Nov 2, 2018
@ruimashita ruimashita closed this Nov 27, 2018
ruimashita pushed a commit that referenced this pull request Feb 7, 2019
iizukak pushed a commit to iizukak/blueoil that referenced this pull request May 30, 2019
ruimashita pushed a commit that referenced this pull request Jun 26, 2019
ruimashita pushed a commit that referenced this pull request Jun 26, 2019
katsuma-inoue-42 pushed a commit to katsuma-inoue-42/blueoil that referenced this pull request Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants