-
Notifications
You must be signed in to change notification settings - Fork 157
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
FileNotFoundError: [Errno 2] No such file or directory: 'deep_logo.pickle' #15
Comments
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 |
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 <[email protected]>:
… @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>
.
|
I think that you got the same error in #4. |
Thank you very much :D
Vào 29 Th10, 2017 07:16 PM, "satojkovic" <[email protected]> đã 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>
.
|
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 <[email protected]>:
… 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>
> .
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can u help me, please
when i run code .
error -> FileNotFoundError: [Errno 2] No such file or directory: 'deep_logo.pickle'
The text was updated successfully, but these errors were encountered: