Cannot successfully run compress.py
LishaTang opened this issue · comments
Hi, thanks for ur work. However, I failed to run the compressor.py following your commands written in readme. I met quite a lot errors in the importing part, for example,
ImportError: cannot import name 'color_list' from 'utils.plots' (/PRBNet_PyTorch/prb_PAGCP/utils/plots.py)/PRBNet_PyTorch/prb_PAGCP/utils/metrics.py)
ImportError: cannot import name 'fitness' from 'utils.metrics' (
compress.py: error: unrecognized arguments: --sequential
Could u give me some advice on these? Thanks for your time and patience.
Hi, thanks for ur work. However, I failed to run the compressor.py following your commands written in readme. I met quite a lot errors in the importing part, for example, ImportError: cannot import name 'color_list' from 'utils.plots' (
/PRBNet_PyTorch/prb_PAGCP/utils/plots.py) ImportError: cannot import name 'fitness' from 'utils.metrics' (/PRBNet_PyTorch/prb_PAGCP/utils/metrics.py) compress.py: error: unrecognized arguments: --sequentialCould u give me some advice on these? Thanks for your time and patience.
Hi, thanks for ur attention to our work. We have updated the code files to solve the mentioned bugs. And one confusion is about the error ImportError: cannot import name 'color_list' from 'utils.plots', which we do not meet during the debug process. If u still have this problem, you could provide more information about this problem.