Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue in load_HDFS #80

Open
BrilliantParth opened this issue Feb 17, 2021 · 1 comment
Open

issue in load_HDFS #80

BrilliantParth opened this issue Feb 17, 2021 · 1 comment

Comments

@BrilliantParth
Copy link

BrilliantParth commented Feb 17, 2021

while executing the command: python HDFS_bechmark.py
I get this error what should I do?
====== Input data summary ======
Traceback (most recent call last):
File "HDFS_bechmark.py", line 18, in
split_type='uniform')
File "..\loglizer\dataloader.py", line 72, in load_HDFS
x_data = data['x_data']
File "C:\Users\modip\anaconda3\envs\py36\lib\site-packages\numpy\lib\npyio.py", line 255, in getitem
pickle_kwargs=self.pickle_kwargs)
File "C:\Users\modip\anaconda3\envs\py36\lib\site-packages\numpy\lib\format.py", line 727, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False

@MetaAnomie
Copy link

Changing the following line in loglizer/dataloader.py worked for me:

data = np.load(log_file) -->
data = np.load(log_file, allow_pickle=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants