Giter Site home page Giter Site logo

conet's People

Contributors

jiwei0921 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

conet's Issues

There is a difference between the target size and the input size in smooth_l1_loss

E:\Salient Object Detection\2020ECCV\CoNet-master\CoNet\trainer.py:79: UserWarning: Using a target size (torch.Size([2, 256, 256])) that is different to the input size (torch.Size([2, 1, 256, 256])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
loss4 = F.smooth_l1_loss(high_depth, depth, reduction='sum')
E:\Salient Object Detection\2020ECCV\CoNet-master\CoNet\trainer.py:81: UserWarning: Using a target size (torch.Size([2, 256, 256])) that is different to the input size (torch.Size([2, 1, 256, 256])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
loss6 = F.smooth_l1_loss(pred_depth, depth, reduction='sum')

How to solve the problem during training. Thank you very much for your reply

代码支持非英伟达显卡的电脑运行吗?

您好,我是一名对显著性检测感兴趣的小菜鸟,作为自学python小白,希望您可以帮助我,因为安装pytorch时安装的是only cpu 版本(电脑无英伟达显卡,是inter uhd 620),就担心是不是对跑代码有影响,因为pytorch里的package反复报错,

Traceback (most recent call last):
File "demo.py", line 136, in
training.train()
File "C:\Users\conet\trainer.py", line 169, in train
self.train_epoch()
File "C:\Users\conet\trainer.py", line 60, in train_epoch
for batch_idx, (data, target, depth, edge) in enumerate(self.train_loader):
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 517, in next
data = self._next_data()
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 1182, in _next_data
idx, data = self._get_data()
File "C:\Users\12874\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 1148, in _get_data
success, data = self._try_get_data()
File "C:\Users\anaconda3\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 986, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File "C:\Users\anaconda3\envs\pytorch\lib\multiprocessing\queues.py", line 104, in get
if not self._poll(timeout):
File "C:\Users\12874\anaconda3\envs\pytorch\lib\multiprocessing\connection.py", line 257, in poll
return self._poll(timeout)
File "C:\Users\anaconda3\envs\pytorch\lib\multiprocessing\connection.py", line 330, in _poll
return bool(wait([self], timeout))
File "C:\Users\anaconda3\envs\pytorch\lib\multiprocessing\connection.py", line 859, in wait
ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
File "C:\Users\anaconda3\envs\pytorch\lib\multiprocessing\connection.py", line 791, in _exhaustive_wait
res = _winapi.WaitForMultipleObjects(L, False, timeout)

训练集缺少train_edge

你好,
感谢你的分享。
我下载了你的数据集以后,对网络进行了训练,但是在训练过程中,读取了train_images、train_masks和train_depth,却报错说我的训练集缺少train_edge,请问这个edge文件夹是什么,该如何生成?
谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.