Skip to content

Error in data_layer function "_get_next_minibatch" #19

Description

@Tushn

Hello,

I was trying to run this code with this dataset: http://vis-www.cs.umass.edu/lfw/
I needed to fix some problems in code, but has one I could not fix, when I run "train.py" I got this error below:

  File "/home/user/projects/triplet/data_layer.py", line 36, in _get_next_minibatch
    print('lenAttributeError: 'DataLayer' object has no attribute '_data'

(self._data._sample): '+str(len(self._data._sample)))

I can't see where this error occur, because my code execute that function "_shuffle_data" the same object and printed "self._data" without problems, when I was trying to execute "sw.train_model(max_iters)" (in "train.py") this error to occur.

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