-
Notifications
You must be signed in to change notification settings - Fork 46
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
Discussion on Ianvs Quick Start Guide Errors #170
Comments
@MooreZheng, any idea why this happened? |
Okay, |
Also, as per the documentation there should be no fault detection folder, files should be placed directly inside singletask_learning_bench/ |
@MooreZheng, which version of tensorflow should I go with. |
the current error that I am facing is RuntimeError: benchmarkingjob runs failed, error: testcase(id=84de58c0-cb4e-11ef-9f00-65cc74a7c013) runs failed, error: (paradigm=singletasklearning) pipeline runs failed, error: module(type=basemodel loads class(name=FPN) failed, error: load module(url=./examples/pcb-aoi/singletask_learning_bench/testalgorithms/fpn/basemodel.py)
failed, error: No module named 'FPN_TensorFlow'..
|
@FuryMartin do you have any idea about this ? |
This is a custom module in pcb-aoi. Althought I don't know the implemetation details of this module, I remember it can be installed by pip install examples/resources/algorithms/FPN_TensorFlow-0.1-py3-none-any.whl This quick start seems to have some issues, you may also want to check #142 (comment) and #132 (comment) if you encounter new problems. |
Yes, it's a known bug. Would you mind opening a PR to solve this? |
Sure will do that |
This wheel only supports tensorflow version 1.x, and it is only available in Python version <=3.7 |
Getting this error when i use python version 3.7
|
And on using python version 3.8 getting the following error:-
|
You are right, creating a env with python==3.6 will fix this. I once discussed Ianvs's dependency issues in #132 , but no community consensus has been reached yet. |
@FuryMartin
from here
|
this fixed the FPN_Tensorflow version conflicts |
tried again, resolved now. Able to run the quickstart from here. +------+-------------------------+----------+--------------------+-----------+--------------------+-------------------------+---------------------+------------------------------------------------------------------------------------------+
| rank | algorithm | f1_score | paradigm | basemodel | basemodel-momentum | basemodel-learning_rate | time | url |
+------+-------------------------+----------+--------------------+-----------+--------------------+-------------------------+---------------------+------------------------------------------------------------------------------------------+
| 1 | fpn_singletask_learning | 0.8527 | singletasklearning | FPN | 0.5 | 0.1 | 2025-01-06 14:30:30 | ./workspace/benchmarkingjob/fpn_singletask_learning/3a76bc25-cc0b-11ef-9f00-65cc74a7c013 |
| 2 | fpn_singletask_learning | 0.844 | singletasklearning | FPN | 0.95 | 0.1 | 2025-01-06 14:25:18 | ./workspace/benchmarkingjob/fpn_singletask_learning/3a76bc24-cc0b-11ef-9f00-65cc74a7c013 |
+------+-------------------------+----------+--------------------+-----------+--------------------+-------------------------+---------------------+------------------------------------------------------------------------------------------+ |
@FuryMartin, python benchmarking.py -f "./examples/pcb-aoi/singletask_learning_bench/fault detection/benchmarkingjob.yaml" I am getting the following error:-
While the other times it is working perfectly |
@MooreZheng @hsj576 |
I'm not sure if it is able to work for Python 3.6. If not, you can just comment out JSONMataDataPars in following code ianvs/core/testenvmanager/dataset/dataset.py Lines 21 to 27 in aefdbeb
ianvs/core/testenvmanager/dataset/dataset.py Lines 590 to 592 in aefdbeb
|
Tried both of these ways, error of
|
Sure and it is appreciated. Pls go ahead. |
Ahh, try to comment out ianvs/core/testcasecontroller/algorithm/paradigm/multiedge_inference/multiedge_inference.py Line 20 in aefdbeb
and move the import into here? ianvs/core/testcasecontroller/algorithm/paradigm/multiedge_inference/multiedge_inference.py Lines 107 to 111 in aefdbeb
|
error got resolved after I downloaded python3.6 compatible onnx version
|
things are working now. |
Conclusion:- |
I unpacked the FPN_TensorFlow-0.1-py3-none-any.whl wheel and found out it currently has these requirements:-
-> Reasons of compatibility issues with python versions >3.6 are:-
Hence, there is a need to migrate the FPN_TensorFlow-0.1-py3-none-any.whl from tensorflow version 1.x to tensorflow version 2.x. This in itself is a big task. |
What happened:
While following the quick start instructions from documentation of ianvs, I encountered a bug.
On running,
I got following exception:-
What you expected to happen:
I expected that benchmarks will be happen.
How to reproduce it (as minimally and precisely as possible):
Please run the quick start guide from here
Anything else we need to know?:
Not neccesarily
The text was updated successfully, but these errors were encountered: