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 when deploying yolov7-quantized weight from Model zoo #3

Open
hieunm1821 opened this issue May 20, 2024 · 0 comments
Open

Issue when deploying yolov7-quantized weight from Model zoo #3

hieunm1821 opened this issue May 20, 2024 · 0 comments

Comments

@hieunm1821
Copy link

I downloaded the weight from box.com

My code to deploy:

import mera
from mera import Target, Platform

def compile_mera(qtz_path, output_dir, host_arch):
    with mera.TVMDeployer(output_dir, overwrite=True) as deployer:
        qtzed_model = mera.ModelLoader(deployer).from_quantized_mera(qtz_path)
        deployer.deploy(
            qtzed_model,
            mera_platform=Platform.SAKURA_1,
            target=Target.IP,
            host_arch=host_arch,
        )
        print(f"{output_dir} DONE!")
        
        
        
        
mera_path = compile_mera(
    'Yolov7_640x640_MERA.mera',
    'deploy_yolov7_mera',
    'x86',
)

image

The enviroment and setup is same as mentioned in the guide

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

1 participant