Intel® Optimized AI Frameworks
Receive community support for questions related to PyTorch* and TensorFlow* frameworks.
79 Discussions

lib conflict running https://github.com/ucbdrive/few-shot-object-detection on macbook

Jon_Barker
Beginner
2,622 Views

Here's the error, any ideas?

(fsdet) jonbrkr@iad12-dhcp-142-207-122 few-shot-object-detection % python3 -m demo.demo --config-file configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml \
--input portraitjpg.jpg --opts MODEL.DEVICE cpu MODEL.WEIGHTS fsdet://coco/tfa_cos_1shot/model_final.pth
[11/18 06:54:51 detectron2]: Arguments: Namespace(confidence_threshold=0.5, config_file='configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml', input=['portraitjpg.jpg'], opts=['MODEL.DEVICE', 'cpu', 'MODEL.WEIGHTS', 'fsdet://coco/tfa_cos_1shot/model_final.pth'], output=None, video_input=None, webcam=False)
froze backbone parameters
froze proposal generator parameters
froze roi_box_head parameters
[11/18 06:54:51 fvcore.common.checkpoint]: Loading checkpoint from fsdet://coco/tfa_cos_1shot/model_final.pth
[11/18 06:54:51 fvcore.common.file_io]: URL http://dl.yf.io/fs-det/models/coco/tfa_cos_1shot/model_final.pth cached in /Users/jonbrkr/.torch/fvcore_cache/fs-det/models/coco/tfa_cos_1shot/model_final.pth
OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
zsh: abort python3 -m demo.demo --config-file --input portraitjpg.jpg --opts cpu
/Users/jonbrkr/anaconda3/envs/fsdet/lib/python3.7/multiprocessing/semaphore_tracker.py:144: UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown
len(cache))

0 Kudos
5 Replies
JananiC_Intel
Moderator
2,594 Views

Hi,


Thanks for posting in Intel forums.


Could you confirm whether you are using any intel products in this workload?


0 Kudos
Jon_Barker
Beginner
2,590 Views

Yes, I am running this on a macbook pro (2020 I believe) with this processor:

1.4 GHz Quad-Core Intel Core i5

0 Kudos
JananiC_Intel
Moderator
2,557 Views

Hi,


Thanks for the update.


We were asking about the intel software products or intel libraries.Are you using any of these in your workload?


Regards,

Janani Chandran




0 Kudos
JananiC_Intel
Moderator
2,546 Views

Hi,

 

Could you provide us the previously asked details?

 

Regards,

Janani Chandran

 

0 Kudos
JananiC_Intel
Moderator
2,511 Views

Hi,


I have not heard back from you .We won't be monitoring this issue.If you need further assistance ,please post a new thread.


Regards,

Janani Chandran


0 Kudos
Reply