FileNotFoundError: [Errno 2] No such file or directory: 'deep_logo.pickle'
phanlong95 opened this issue · 5 comments
phanlong95 commented
can u help me, please
when i run code .
error -> FileNotFoundError: [Errno 2] No such file or directory: 'deep_logo.pickle'
satojkovic commented
Do you get the following output when you run crop_and_aug.py and gen_train_valid_test.py?
$ python crop_and_aug.py
train_annotation: 4536, 7
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
original: 1079
cropped: 217488
$ python gen_train_valid_test.py
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Adidas/train.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Adidas/train
Full dataset tensor: (9216, 32, 64, 3)
Mean: -0.0256174
Standard deviation: 0.352043
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Apple/train.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Apple/train
Full dataset tensor: (9252, 32, 64, 3)
Mean: 0.123781
Standard deviation: 0.300593
...
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Yahoo/test.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Yahoo/test
Full dataset tensor: (1380, 32, 64, 3)
Mean: 0.262351
Standard deviation: 0.310276
Compressed pickle size: 1474800508
phanlong95 commented
Thank for your help. But when i run file gen_train_valid_test.py -> error
valid_dataset[start_v:end_v, :, :, :] = valid_logo
ValueError: could not broadcast input array from shape (990,32,64,3) into
shape (16666,32,64,3)
please help me. I try to fix it but it does not work
2017-10-21 11:05 GMT+07:00 satojkovic <notifications@github.com>:
… @phanlong95 <https://github.com/phanlong95>
Do you get the following output when you run crop_and_aug.py and
gen_train_valid_test.py?
$ python crop_and_aug.py
train_annotation: 4536, 7
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
Skip: 2662264721.jpg
original: 1079
cropped: 217488
$ python gen_train_valid_test.py
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Adidas/train.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Adidas/train
Full dataset tensor: (9216, 32, 64, 3)
Mean: -0.0256174
Standard deviation: 0.352043
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Apple/train.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Apple/train
Full dataset tensor: (9252, 32, 64, 3)
Mean: 0.123781
Standard deviation: 0.300593
...
Pickling flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Yahoo/test.pickle.
flickr_logos_27_dataset/flickr_logos_27_dataset_cropped_augmented_images/Yahoo/test
Full dataset tensor: (1380, 32, 64, 3)
Mean: 0.262351
Standard deviation: 0.310276
Compressed pickle size: 1474800508
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfSf5QptYcsOLnfj9H33s9Wt4Hfd0uP6ks5suW2CgaJpZM4P7k1W>
.
satojkovic commented
I think that you got the same error in #4.
Could you check that issue?
phanlong95 commented
Thank you very much :D
Vào 29 Th10, 2017 07:16 PM, "satojkovic" <notifications@github.com> đã viết:
… @phanlong95 <https://github.com/phanlong95>
I think that you got the same error in #4
<#4>.
Could you check that issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfSf5cXVuVRhc4D6XniR1EQ1nPMVjaYlks5sxGylgaJpZM4P7k1W>
.
phanlong95 commented
it still eror . please help me .
THANK
``````````````````````````````````````````````
runfile('D:/Download/deep_logo/gen_train_valid_test.py',
wdir='D:/Download/deep_logo')
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Adidas\train.pickle
already present - Skipping pickling.
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Cocacola\train.pickle
already present - Skipping pickling.
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Heineken\train.pickle
already present - Skipping pickling.
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Adidas\test.pickle
already present - Skipping pickling.
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Cocacola\test.pickle
already present - Skipping pickling.
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Heineken\test.pickle
already present - Skipping pickling.
Unable to process data from
flickr_logos_27_dataset\flickr_logos_27_dataset_cropped_augmented_images\Adidas\train.pickle
: could not broadcast input array from shape (360,32,64,3) into shape
(1666,32,64,3)
Traceback (most recent call last):
File "<ipython-input-6-3fbf896214ab>", line 1, in <module>
runfile('D:/Download/deep_logo/gen_train_valid_test.py',
wdir='D:/Download/deep_logo')
File "F:\Anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py",
line 710, in runfile
execfile(filename, namespace)
File "F:\Anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py",
line 101, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Download/deep_logo/gen_train_valid_test.py", line 192, in
<module>
main()
File "D:/Download/deep_logo/gen_train_valid_test.py", line 178, in main
train_datasets, TRAIN_SIZE, VALID_SIZE)
File "D:/Download/deep_logo/gen_train_valid_test.py", line 123, in
merge_datasets
valid_dataset[start_v:end_v, :, :, :] = valid_logo
ValueError: could not broadcast input array from shape (360,32,64,3) into
shape (1666,32,64,3)
2017-10-29 19:23 GMT+07:00 long phan <phanthanhlong7695@gmail.com>:
… Thank you very much :D
Vào 29 Th10, 2017 07:16 PM, "satojkovic" ***@***.***> đã
viết:
@phanlong95 <https://github.com/phanlong95>
>
> I think that you got the same error in #4
> <#4>.
> Could you check that issue?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#15 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AfSf5cXVuVRhc4D6XniR1EQ1nPMVjaYlks5sxGylgaJpZM4P7k1W>
> .
>