Magento - import product csv does not enable base image - magento-1.8

I could not enable the base image from CSV. I exported the working products csv from server and imported the same. But the base images are not enabled for all the products. Images are exist in correct path. I can enable the base image from admin panel.
But can't do it from import products csv file.
I updated the image path in image & media_gallery columns and gallery value as 1.
Please advice.

Related

Azure Databricks Read Text and tables from PDF files-python

we have pdf documents that contain scanned images. These images contain free text and table data. I would like to read the data from the tables and also the free text using python. End goal is to parse the entire pdf file and convert that to a json and store in table. SO far I have tried the following
Libraries (1.) through (4.) although they are free they are very inconsistent in reading the pdf files mostly because our pdf files are scanned images and tables have no borders.
pip install camelot-py(free)
pip install tabula-py(free)
pip install PyPDF2(free)
fitz - pdf to json(free)
FormRecognizer(License)
Johnsnowlabs(License)
Options 5. and 6. worked fine but due to the image brightness it is not able to parse the headers and certain column data.
Is there any other OCR tool that I can try that integrates well with Azure Databricks. Licensed version is fine too.

AzureML Studio - Unable to Export Data using Designer

I built a classification model using the new AzureML Studio Designer. I am trying to export
enter code herethe scored model as CSV file using the pill Export Data. I have selected
workspaceblobstore as datastore and csv as file format. The pipeline runs fine, but the
dataset does not show up under Data. I am also unable to just right-click on the scored model
and download a csv file.*
[Pipeline][1]
[Export Data Parameters][2]
[Output][3]
[1]: https://i.stack.imgur.com/dlaec.png
[2]: https://i.stack.imgur.com/PLwRv.png
[3]: https://i.stack.imgur.com/rua29.png
When the dataset is uploaded using any of the following formats, we can see the dataset under the dataset of the designer tab.
To reproduce the problem, used a sample dataset and uploaded from the local directory in the form of CSV file. It validated perfectly under the data it is visible in designer tab

Best way to transform Jupyter notebook code in a web app

Suppose, I have a Jupyter notebook that contains the code of Image Captioning. Let's say this is our example notebook. This is a simple machine learning model where the workflow is like loading the data, training the model, and using the model to predict the caption for any image.
What I want to learn is how to make a simple publicly available web app (like this) where the users can just upload their image or provide a link to their image and get the required captions as output.
You can try to use Mercury. It tranforms Jupyter notebooks into web app by adding YAML header in the first raw cell in the notebook. You can easily define an image upload as input. Example YAML config:
title: App title
description: App description
params:
my_image:
input: file
label: Please upload image
maxFileSize: 1MB
In the next cell you need to define variable with file name
my_image = "my_image.png"
In the rest cells you should have your notebooks cells.

How to upload a photo to User Form using PATH and display on other computers?

I built a User Form where there is a post-select configuration that depending on choices shows an image and text results.
I uploaded the pictures from a cell where the image PATH is written to a picture box.
Image1.Picture = LoadPicture (Sheets ("XXX"). Cells (34, 5))
I have two problems:
The image is loaded upside down. I tried to find a ROTATE command, tried to make the image 180 degrees in a folder in advance, even tried to upload it to picture box directly one by one and the same problem. How can I make it rotate 180 degrees?
I sent the file to my co-workers and they were able to open the User Form, but when they clicked the SHOW button an error occurred that says the PATH was not found. I guess it is because the image is in a folder only on my computer. How can I put it in a shared folder and make PATH relevant to everyone (assuming there is a different USER for each computer)?
Regarding your first problem, there is a way of rotating images with vba code but it might be easier to just rotate it in advance so it gets displayed correctly. See this post for more info.
Your second problem can be solved in multiple ways, you could include the images in the workbook and load it from there, but if you don't like that, you can specify the path dynamically. Of course you have to provide your co workers with the image files aswell in this case. If the images are stored in the same folder as the excel file you can use
Application.ActiveWorkbook.Path
to dynamically find the path of the excel file, which would then also be the path of the image. You can also store the image in a subfolder in the folder of the excel file and create that path like this:
path=Application.ActiveWorkbook.Path & "\subfoldername"

Impex export and Impex import cronjobs in Hybris

How can I transfer data from one environment to another using impex export and impex import cronjobs through Hybris 6.1 HMC
Generate the impex export script
Go to System->Tools->Script Generator.
In the popin click on generate. In the textarea you'll then have te export impex for each model.
Copy the models you want to export.
Export models
Go to System->Tools->Export.
Paste the impex copied previously and cick on save. Click on next then start.
Download the exported impex and the media if there is one zip file.
Import models
To import go to System->Tools->Import.
Upload a new media (the impex zip downloaded previously).
Click on next. Upload the media zip. Change the error mode if needed, I prefer use ignore.
Finally click on start.

Resources