Skip to content

Split & Merge Error (해결) #2

@ico1036

Description

@ico1036

Feature variable 들어있는 새로운 샘플 이용할시 아래와 같은 에러발생

https://github.com/ico1036/Nurion/blob/master/GenSample/util.py
https://github.com/ico1036/Nurion/blob/master/GenSample/data_writer_merger.py

ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 5990 and the array at index 1 has size 11735

해결--> prepare_my.py 단계에서 몇몇 feature 들이 flat 하진 않았음
ex) array shape = (100,1)
특히나 passSRJ 는 같은게 중복됨
ex) passSRJ.shape -> (100,100)
pasSRJ 중복 제거하고 전부 flat 하게 만듬
ex) (100,)
source code: https://github.com/ico1036/Nurion/blob/master/GenSample/prepare_data_my.py#L128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions