Skip to content

VEdge_Detector on Mac M1 #4

@vincentkuemmerer

Description

@vincentkuemmerer

Hi @MartinSJRogers,

Thanks for sharing your work here!

I would like to apply your model to my satellite imagery but I am facing several problems with my Mac M1 computer. I am relatively new to remote sensing and especially to automated detection of vegetation lines. After struggling to run TensorFlow on GPU MacOS I could not manage to create an environment with python 3.7 and TensorFlow. This results in the the following error in line 60 of the example_Predict.py:

File "/Users/vincent/miniforge3/envs/VEdge_Detector/lib/python3.10/site-packages/keras/utils/generic_utils.py", line 857, in func_load
code = marshal.loads(raw_code)

ValueError: bad marshal data (unknown type code)

As far as I understood this is caused because you used python 3.7 to save your model and I am using python 3.10.6. Before I am looking to find a windows computer I was hoping you might be able to help me. Would it be possible to update your model to python 3.10.6? Or can you give me advice on how to change that myself?

Any help is appreciated.

Cheers,

Vincent

error_bad_marshall_data

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