sys.path.insert(0, "../../fcn_python/") sys.path.insert(0, "../../python_layers/")
时间: 2024-01-01 09:05:13 浏览: 84
FCN_搭建fcn网络_fcn代码实现_fcn_
5星 · 资源好评率100%
你可以在你的代码中添加以下两行来解决路径问题:
sys.path.insert(0, "../../fcn_python/")
sys.path.insert(0, "../../python_layers/") [1<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Multinet 利用tv-analyze --logdir /path/to/RUNDIR 出现 ImportError: No module named tensorflow_fcn ...](https://blog.csdn.net/ningngmei4328/article/details/91065700)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [PyTorch 源码解读之 torch.serialization & torch.hub](https://blog.csdn.net/zandaoguang/article/details/121045573)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文