Skip to content

Error when running code on custom dataset #19

Description

@bharadwajdhornala

Hi @ankonzoid . Thanks for the code.

I am trying to run your code on my dataset which contains 500 random animal images of size 512x 512.
Code abrupty stops with this error.

Reading train images from '.....\dataset\data2\train'...
Reading test images from '......\dataset\data2\test'...
Image shape = (512, 512, 3)
Loading VGG19 pre-trained model...
2020-08-07 23:02:22.275737: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
input_shape_model = (512, 512, 3)
output_shape_model = (16, 16, 512)
Applying image transformer to training images...
Applying image transformer to test images...
-> X_train.shape = (200, 512, 512, 3)
-> X_test.shape = (5, 512, 512, 3)
Inferencing embeddings using pre-trained model...
2020-08-07 23:02:59.016060: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 2147483648 exceeds 10% of system memory.
2020-08-07 23:03:45.605916: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 2147483648 exceeds 10% of system memory.

Please help!!

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