Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: TypeError: forward() missing 1 required positional argument: 'x'
Post: RE: TypeError: forward() missing 1 required positi...
The ussue was solved by replacing net = model.cuda() insted of net = model().cuda() |
|
sveto4ka |
General Coding Help |
4 |
12,284 |
Jun-17-2020, 07:25 PM |
|
|
Thread: TypeError: forward() missing 1 required positional argument: 'x'
Post: RE: TypeError: forward() missing 1 required positi...
But what exactly should I change? I didn`t create argument x
I have updated traceback |
|
sveto4ka |
General Coding Help |
4 |
12,284 |
Jun-17-2020, 02:33 PM |
|
|
Thread: TypeError: forward() missing 1 required positional argument: 'x'
Post: TypeError: forward() missing 1 required positional...
Can you please tell me how to solve the error:
Error:TypeError Traceback (most recent call last)
<ipython-input-14-e3fe2d5e1d3e> in <module>()
----> 6 ... |
|
sveto4ka |
General Coding Help |
4 |
12,284 |
Jun-17-2020, 02:27 PM |
|
|
Thread: transfer learning, how preprocess data
Post: transfer learning, how preprocess data
Pleae, can you tell me how should I preprosess data while using transfer learning? I mean obligatory preprosessing.
For example, if I want to use resnet50, can I have training images with size 100*100... |
|
sveto4ka |
Data Science |
1 |
2,007 |
Jun-08-2020, 01:01 PM |
|
|
Thread: how to import files in Google Collab wihout downloading them to PC and to Google Disk
Post: RE: how to import files in Google Collab wihout do...
Yes, jefsummers is right. This will result in downloading.
Also, the last way is better, in my opinion, as for my competion I was not be able to find dataset in the list of datasets. But dataset was a... |
|
sveto4ka |
General Coding Help |
9 |
3,889 |
Jun-03-2020, 12:40 PM |
|
|
Thread: how to import files in Google Collab wihout downloading them to PC and to Google Disk
Post: RE: how to import files in Google Collab wihout do...
Thank you for your answer! I need 110 Gb( |
|
sveto4ka |
General Coding Help |
9 |
3,889 |
Jun-01-2020, 07:27 PM |
|
|
Thread: how to import files in Google Collab wihout downloading them to PC and to Google Disk
Post: RE: how to import files in Google Collab wihout do...
Thanks! I saw similar recomendations. Unfortunately their code results in downloading files to Google drive. I want to use only links to web sites, without downloading |
|
sveto4ka |
General Coding Help |
9 |
3,889 |
Jun-01-2020, 06:32 PM |
|
|
Thread: how to import files in Google Collab wihout downloading them to PC and to Google Disk
Post: RE: how to import files in Google Collab wihout do...
I tried nothing as my question is how to do this: I am asking for code |
|
sveto4ka |
General Coding Help |
9 |
3,889 |
Jun-01-2020, 12:17 PM |
|
|
Thread: how to import files in Google Collab wihout downloading them to PC and to Google Disk
Post: how to import files in Google Collab wihout downlo...
How can I import files in Google Collab wihout downloading them to PC and to Google Disk?
There is data on kaggle.com and there is my notebook on Google collab. How can I import files using only webs... |
|
sveto4ka |
General Coding Help |
9 |
3,889 |
Jun-01-2020, 07:26 AM |
|
|
Thread: help with error
Post: help with error
Can you tell me how to solve problem:
Error:Error:
ValueError Traceback (most recent call last)
<ipython-input-8-2e591d410a95> in <module>()
147
148... |
|
sveto4ka |
General Coding Help |
0 |
1,380 |
Apr-16-2020, 09:36 AM |
|
|
Thread: what does code mean (python, pytorch)
Post: RE: what does code mean (python, pytorch)
(Mar-11-2020, 08:20 PM)stullis Wrote:
The asterisk (*) in this case is "star notation". It's syntactic sugar to unpack the contents of the list adjoined to it. So, instead of passing the list as an... |
|
sveto4ka |
General Coding Help |
2 |
2,295 |
Mar-12-2020, 04:26 PM |
|
|
Thread: what does code mean (python, pytorch)
Post: what does code mean (python, pytorch)
Please, tell me what does code mean:
for in_channel, out_channel, stride, num_block in [
[ 64, 64, 1, 2],
[ 64, 128, 2, ... |
|
sveto4ka |
General Coding Help |
2 |
2,295 |
Mar-11-2020, 07:45 PM |
|
|
Thread: what does code mean (python)
Post: what does code mean (python)
Can you tell me, what does part of code mean?def forward(self, x):
batch_size,C,H,W = x.shape
x = self.encode[0](x) ; e0=x #; print('encode[0] :', x.shape)
x = F.max_pool2d(x... |
|
sveto4ka |
General Coding Help |
0 |
1,479 |
Nov-30-2019, 02:05 PM |
|
|
Thread: video processing tools
Post: RE: video processing tools
(Oct-23-2019, 09:28 AM)Larz60+ Wrote: https://pypi.org/search/?q=video
thanks) |
|
sveto4ka |
General Coding Help |
2 |
1,862 |
Oct-23-2019, 01:27 PM |
|
|
Thread: video processing tools
Post: video processing tools
Please, can you name tools for video processing using python |
|
sveto4ka |
General Coding Help |
2 |
1,862 |
Oct-22-2019, 06:37 PM |
|
|
Thread: 2 versions of module installed, how to import the earlier one
Post: RE: 2 versions of module installed, how to import ...
(Oct-22-2019, 04:20 AM)Larz60+ Wrote: You just used the command. just specify the version number you want to install in place of the 1.15.4
What do you mean by saying that? The question was how to i... |
|
sveto4ka |
General Coding Help |
8 |
4,782 |
Oct-22-2019, 01:51 PM |
|
|
Thread: 2 versions of module installed, how to import the earlier one
Post: RE: 2 versions of module installed, how to import ...
The problem was solved by deleting .condarc file of anaconda and repeating codeconda remove numpy
conda install numpy=1.15.4However, I still do not know the answer to my question "2 versions of module... |
|
sveto4ka |
General Coding Help |
8 |
4,782 |
Oct-21-2019, 05:53 PM |
|
|
Thread: 2 versions of module installed, how to import the earlier one
Post: RE: 2 versions of module installed, how to import ...
(Oct-20-2019, 09:13 PM)Larz60+ Wrote: sorry, I don't use conda, but google search shows:
conda install numpy=1.4.3with a single '='
It doesn`t matter as after my code it showed that numpy version w... |
|
sveto4ka |
General Coding Help |
8 |
4,782 |
Oct-21-2019, 08:03 AM |
|
|
Thread: 2 versions of module installed, how to import the earlier one
Post: RE: 2 versions of module installed, how to import ...
(Oct-20-2019, 06:31 PM)Larz60+ Wrote: pip install --force-reinstall numpy==1.15.4
will replace current version. Careful, other version will be gone when done!
Be aware, that based on your comments... |
|
sveto4ka |
General Coding Help |
8 |
4,782 |
Oct-20-2019, 07:03 PM |
|
|
Thread: 2 versions of module installed, how to import the earlier one
Post: 2 versions of module installed, how to import the ...
Please, help: I want to work with fbprophet and I had error, which I think will be solved if I will use earlier version of numpy.
What I did: I removed numpy and installed numpy 1.15.4.
But when I wr... |
|
sveto4ka |
General Coding Help |
8 |
4,782 |
Oct-20-2019, 10:22 AM |